diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2011-09-22 13:19:54 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2011-09-22 13:21:20 +0300 |
commit | 4c8424fdb62976cbcfb39fe6be2b2506c149cce6 (patch) | |
tree | 181edecca6d5c1e96fbab178fecb27c00af95ab9 | |
parent | 60607317f36547048de75094e9aeedceeeea7272 (diff) |
Small refactoring to avoid duplication of source file list
-rw-r--r-- | desktop/Executable_loader2.mk | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/desktop/Executable_loader2.mk b/desktop/Executable_loader2.mk index 49052a937049..a7ebedc2e86c 100644 --- a/desktop/Executable_loader2.mk +++ b/desktop/Executable_loader2.mk @@ -54,14 +54,10 @@ $(eval $(call gb_Executable_add_linked_libs,loader2,\ endif endif -$(eval $(call gb_Executable_add_exception_objects,loader2,\ - desktop/win32/source/setup/setup_main \ - desktop/win32/source/setup/setup_w \ -)) - $(foreach file, \ desktop/win32/source/setup/setup_main \ desktop/win32/source/setup/setup_w, \ +$(eval $(call gb_Executable_add_exception_objects,loader2,$(file)))\ $(eval $(call gb_CxxObject_get_target,$(file)) : DEFS := $(filter-out -D_DLL,$(gb_LinkTarget_DEFAULTDEFS) $(CPPFLAGS)))\ $(eval $(call gb_CxxObject_get_target,$(file)) : T_CXXFLAGS := -MT $(filter-out -MD,$(gb_LinkTarget_EXCEPTIONFLAGS) $(gb_LinkTarget_CXXFLAGS)))\ ) |