diff options
author | David Tardon <dtardon@redhat.com> | 2016-03-08 05:57:40 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2016-03-08 05:57:40 +0100 |
commit | d72a33c6aed0ca8f9fe0b90bc6d72e7313985524 (patch) | |
tree | 0a8a3939c74ba868ca645470601234a0dd8cc9dc /RepositoryExternal.mk | |
parent | b325b4c286b56a63316063a3ac4648bf7b7efcbe (diff) |
reorder
Change-Id: I8ff9f61475fddb475fe08e867c5446c825abb7dc
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r-- | RepositoryExternal.mk | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk index c6fe3718a575..c8aab6414901 100644 --- a/RepositoryExternal.mk +++ b/RepositoryExternal.mk @@ -704,6 +704,21 @@ $(call gb_LinkTarget_use_static_libraries,$(1),\ endef +define gb_LinkTarget__use_boost_filesystem +$(call gb_LinkTarget_add_defs,$(1),\ + -DBOOST_ALL_NO_LIB \ +) + +$(call gb_LinkTarget_use_static_libraries,$(1),\ + boost_filesystem \ +) + +endef + +define gb_ExternalProject__use_boost_filesystem +$(call gb_ExternalProject_use_static_libraries,$(1),boost_filesystem) +endef + define gb_LinkTarget__use_boost_iostreams $(call gb_LinkTarget_add_defs,$(1),\ -DBOOST_ALL_NO_LIB \ @@ -743,25 +758,11 @@ $(call gb_LinkTarget_set_include,$(1),\ endef -define gb_LinkTarget__use_boost_filesystem -$(call gb_LinkTarget_add_defs,$(1),\ - -DBOOST_ALL_NO_LIB \ -) - -$(call gb_LinkTarget_use_static_libraries,$(1),\ - boost_filesystem \ -) - -endef - -define gb_ExternalProject__use_boost_filesystem -$(call gb_ExternalProject_use_static_libraries,$(1),boost_filesystem) -endef - define gb_ExternalProject__use_boost_headers $(call gb_ExternalProject_use_unpacked,$(1),boost) endef + endif # SYSTEM_BOOST |