< prev index next >

make/common/NativeCompilation.gmk

Print this page

        

*** 902,911 **** --- 902,912 ---- $1_EXTRA_LDFLAGS += -manifest:embed endif $1_IMPORT_LIBRARY := $$($1_OBJECT_DIR)/$$($1_NAME).lib $1_EXTRA_LDFLAGS += "-implib:$$($1_IMPORT_LIBRARY)" + ifeq ($$($1_TYPE), LIBRARY) # To properly trigger downstream dependants of the import library, just as # for debug files, we must have a recipe in the rule. To avoid rerunning # the recipe every time have it touch the target. If an import library # file is deleted by something external, explicitly delete the target to # trigger a rebuild of both.
*** 917,926 **** --- 918,928 ---- $$(if $$(CORRECT_FUNCTION_IN_RECIPE_EVALUATION), \ $$(if $$(wildcard $$@), , $$(error $$@ was not created for $$<)) \ ) $(TOUCH) $$@ endif + endif $1_VARDEPS := $$($1_LD) $$($1_SYSROOT_LDFLAGS) $$($1_LDFLAGS) $$($1_EXTRA_LDFLAGS) \ $$(GLOBAL_LIBS) $$($1_LIBS) $$($1_EXTRA_LIBS) $$($1_MT) \ $$($1_CODESIGN) $$($1_CREATE_DEBUGINFO_CMDS) $$($1_MANIFEST_VERSION) \ $$($1_STRIP_CMD)
< prev index next >