From 457f83ee501ba8f9a6a576de741e43ff9dfef039 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 27 Aug 2016 16:37:12 +0200 Subject: Fix rpath-link --- build2/cc/compile.cxx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'build2/cc/compile.cxx') diff --git a/build2/cc/compile.cxx b/build2/cc/compile.cxx index 20cd392..10171ed 100644 --- a/build2/cc/compile.cxx +++ b/build2/cc/compile.cxx @@ -72,6 +72,9 @@ namespace build2 auto opt = [&args, this] (file& l, const string& t, bool com, bool exp) { + // Note that in our model *.export.poptions are always "interface", + // even if set on liba{}/libs{}, unlike loptions. + // assert (exp); const variable& var ( @@ -83,7 +86,7 @@ namespace build2 }; link_.process_libraries ( - sys_lib_dirs, l, l.is_a (), true, nullptr, opt); + sys_lib_dirs, l, l.is_a (), nullptr, nullptr, opt); } void compile:: @@ -104,7 +107,7 @@ namespace build2 }; link_.process_libraries ( - sys_lib_dirs, l, l.is_a (), true, nullptr, opt); + sys_lib_dirs, l, l.is_a (), nullptr, nullptr, opt); } recipe compile:: @@ -464,7 +467,7 @@ namespace build2 }; link_.process_libraries ( - sys_lib_dirs, l, l.is_a (), true, nullptr, opt); + sys_lib_dirs, l, l.is_a (), nullptr, nullptr, opt); } auto compile:: -- cgit v1.1