From 7ac042aaa117dd702c682cf9ef3b90374b384f37 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 22 Apr 2010 12:51:13 +0200 Subject: Update boost import stub --- build/import/libboost/regex/rules.make | 18 +++++++++++++++--- build/import/libboost/regex/stub.make | 6 +++++- 2 files changed, 20 insertions(+), 4 deletions(-) (limited to 'build/import/libboost/regex') diff --git a/build/import/libboost/regex/rules.make b/build/import/libboost/regex/rules.make index 3b5a0f8..2f6b8f7 100644 --- a/build/import/libboost/regex/rules.make +++ b/build/import/libboost/regex/rules.make @@ -1,6 +1,6 @@ # file : build/import/libboost/regex/rules.make # author : Boris Kolpackov -# 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/regex/regex.l: \ ifeq ($(libboost_type),archive) +ifeq ($(libboost_system),y) +$(dcf_root)/import/libboost/regex/regex.l: \ + $(libboost_root)/stage/lib/libboost_regex$(libboost_suffix).a \ + $(libboost_root)/stage/lib/libboost_system$(libboost_suffix).a +else $(dcf_root)/import/libboost/regex/regex.l: \ $(libboost_root)/stage/lib/libboost_regex$(libboost_suffix).a - @echo $< >$@ +endif + @echo $^ >$@ else +ifeq ($(libboost_system),y) +$(dcf_root)/import/libboost/regex/regex.l: \ + $(libboost_root)/stage/lib/libboost_regex$(libboost_suffix).so \ + $(libboost_root)/stage/lib/libboost_system$(libboost_suffix).so +else $(dcf_root)/import/libboost/regex/regex.l: \ $(libboost_root)/stage/lib/libboost_regex$(libboost_suffix).so - @echo $< >$@ +endif + @echo $^ >$@ @echo rpath:$(root)/stage/lib >>$@ endif diff --git a/build/import/libboost/regex/stub.make b/build/import/libboost/regex/stub.make index 2095e33..eabc515 100644 --- a/build/import/libboost/regex/stub.make +++ b/build/import/libboost/regex/stub.make @@ -1,6 +1,6 @@ # file : build/import/libboost/regex/stub.make # author : Boris Kolpackov -# copyright : Copyright (c) 2005-2008 Boris Kolpackov +# copyright : Copyright (c) 2005-2010 Boris Kolpackov # license : GNU GPL v2; see accompanying LICENSE file $(call include-once,$(scf_root)/import/libboost/configuration-rules.make,$(dcf_root)) @@ -13,7 +13,11 @@ ifdef libboost_installed ifeq ($(libboost_installed),y) +ifeq ($(libboost_system),y) +$(call export,l: -lboost_regex$(libboost_suffix) -lboost_system$(libboost_suffix),cpp_options: ) +else $(call export,l: -lboost_regex$(libboost_suffix),cpp_options: ) +endif else -- cgit v1.1