X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Ftools%2Frbuild%2Fbackend%2Fmingw%2Fmodulehandler.cpp;h=fff325def12f4949bbfb92cdcd14e2dcfa162446;hp=ebf601c878fb75c9d992defcc5b4d5bff941be0f;hb=33c4221b1eb6151dc311468656a0ee01cf959633;hpb=c251e1852330cb25be97586fd188072cf96838fc diff --git a/reactos/tools/rbuild/backend/mingw/modulehandler.cpp b/reactos/tools/rbuild/backend/mingw/modulehandler.cpp index ebf601c878f..fff325def12 100644 --- a/reactos/tools/rbuild/backend/mingw/modulehandler.cpp +++ b/reactos/tools/rbuild/backend/mingw/modulehandler.cpp @@ -1550,10 +1550,14 @@ MingwModuleHandler::GenerateCleanObjectsAsYouGoCode () const void MingwModuleHandler::GenerateRunRsymCode () const { + fprintf ( fMakefile, + "ifneq ($(ROS_GENERATE_RSYM),no)\n" ); fprintf ( fMakefile, "\t$(ECHO_RSYM)\n" ); fprintf ( fMakefile, "\t$(Q)$(RSYM_TARGET) $@ $@\n\n" ); + fprintf ( fMakefile, + "endif\n" ); } void