summaryrefslogtreecommitdiff
path: root/build/import/libboost/date-time/rules.make
diff options
context:
space:
mode:
Diffstat (limited to 'build/import/libboost/date-time/rules.make')
-rw-r--r--build/import/libboost/date-time/rules.make18
1 files changed, 15 insertions, 3 deletions
diff --git a/build/import/libboost/date-time/rules.make b/build/import/libboost/date-time/rules.make
index 2db64c7..5de56fc 100644
--- a/build/import/libboost/date-time/rules.make
+++ b/build/import/libboost/date-time/rules.make
@@ -1,6 +1,6 @@
# file : build/import/libboost/date-time/rules.make
# author : Boris Kolpackov <boris@kolpackov.net>
-# copyright : Copyright (c) 2005-2008 Boris Kolpackov
+# copyright : Copyright (c) 2005-2010 Boris Kolpackov
# license : GNU GPL v2; see accompanying LICENSE file
$(dcf_root)/import/libboost/%: root := $(libboost_root)
@@ -10,15 +10,27 @@ $(dcf_root)/import/libboost/date-time/date-time.l: \
ifeq ($(libboost_type),archive)
+ifeq ($(libboost_system),y)
+$(dcf_root)/import/libboost/date-time/date-time.l: \
+ $(libboost_root)/stage/lib/libboost_date_time$(libboost_suffix).a \
+ $(libboost_root)/stage/lib/libboost_system$(libboost_suffix).a
+else
$(dcf_root)/import/libboost/date-time/date-time.l: \
$(libboost_root)/stage/lib/libboost_date_time$(libboost_suffix).a
- @echo $< >$@
+endif
+ @echo $^ >$@
else
+ifeq ($(libboost_system),y)
+$(dcf_root)/import/libboost/date-time/date-time.l: \
+ $(libboost_root)/stage/lib/libboost_date_time$(libboost_suffix).so \
+ $(libboost_root)/stage/lib/libboost_system$(libboost_suffix).so
+else
$(dcf_root)/import/libboost/date-time/date-time.l: \
$(libboost_root)/stage/lib/libboost_date_time$(libboost_suffix).so
- @echo $< >$@
+endif
+ @echo $^ >$@
@echo rpath:$(root)/stage/lib >>$@
endif