diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-09-27 00:49:12 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-09-28 16:49:06 +0200 |
commit | b85c34978356eb01311f197f00f4dd5f808e3664 (patch) | |
tree | 7bd759b1b780bb0433609e18736fc6a6816ac19f /solenv/gbuild/LinkTarget.mk | |
parent | gbuild: split uwinapi out of gb_STDLIBS (diff) | |
download | core-b85c34978356eb01311f197f00f4dd5f808e3664.tar.gz core-b85c34978356eb01311f197f00f4dd5f808e3664.zip |
gbuild: replace direct gb_STDLIBS use with ...
... new gb_LinkTarget_add_standard_system_libs
Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
Diffstat (limited to 'solenv/gbuild/LinkTarget.mk')
-rw-r--r-- | solenv/gbuild/LinkTarget.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/solenv/gbuild/LinkTarget.mk b/solenv/gbuild/LinkTarget.mk index 8dddeb390402..5b953005ef24 100644 --- a/solenv/gbuild/LinkTarget.mk +++ b/solenv/gbuild/LinkTarget.mk @@ -648,6 +648,13 @@ define gb_LinkTarget_add_libs $(call gb_LinkTarget_get_target,$(1)) : LIBS += $(2) endef +# add platform specific standard libraries to linker command for linktarget $(1) +# there are currently 94 Libraries/Executables/CppunitTests not using +# gb_STDLIBS... probably this should need to be added explicitly +define gb_LinkTarget_add_standard_system_libs +$(call gb_LinkTarget_get_target,$(1)) : LIBS += $(gb_STDLIBS) +endef + define gb_LinkTarget_add_api $$(call gb_Output_error,\ gb_LinkTarget_add_api: use gb_LinkTarget_use_api instead.) |