summaryrefslogtreecommitdiff
path: root/RepositoryExternal.mk
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-06-05 11:26:08 +0200
committerDavid Tardon <dtardon@redhat.com>2012-06-05 11:31:07 +0200
commit5ed17233908c7f87b08b0964b55e4504d964ed71 (patch)
treee88880f1b1567b233e2cf0dcff2194a7fe9e8348 /RepositoryExternal.mk
parent94f87ad9b1e50bb4458eb0b3e87dd053b636094f (diff)
add configure check for date_time lib
Change-Id: Ie04e4860363dd3db7c363408c6c8c9e80d9315c0
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r--RepositoryExternal.mk14
1 files changed, 13 insertions, 1 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index eafe5ed185b2..57b72498172c 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -273,7 +273,19 @@ endif # SYSTEM_HUNSPELL
ifeq ($(SYSTEM_BOOST),YES)
define gb_LinkTarget__use_boostdatetime
-$(call gb_LinkTarget_add_libs,$(1),-lboost_date_time)
+$(call gb_LinkTarget_set_include,$(1),\
+ $$(INCLUDE) \
+ $(BOOST_CPPFLAGS) \
+)
+
+$(call gb_LinkTarget_add_ldflags,$(1),\
+ $(BOOST_LDFLAGS) \
+)
+
+$(call gb_LinkTarget_add_libs,$(1),\
+ $(BOOST_DATE_TIME_LIB) \
+)
+
endef
else # !SYSTEM_BOOST