diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-08-27 16:37:12 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-08-27 16:37:12 +0200 |
commit | 457f83ee501ba8f9a6a576de741e43ff9dfef039 (patch) | |
tree | dfb64944e3aef2666454b070169bc6b14227ed12 /build2/cc/compile.cxx | |
parent | 9b8320565fe3a0197d1217792f1705f67e773082 (diff) |
Fix rpath-link
Diffstat (limited to 'build2/cc/compile.cxx')
-rw-r--r-- | build2/cc/compile.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
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<liba> (), true, nullptr, opt); + sys_lib_dirs, l, l.is_a<liba> (), nullptr, nullptr, opt); } void compile:: @@ -104,7 +107,7 @@ namespace build2 }; link_.process_libraries ( - sys_lib_dirs, l, l.is_a<liba> (), true, nullptr, opt); + sys_lib_dirs, l, l.is_a<liba> (), nullptr, nullptr, opt); } recipe compile:: @@ -464,7 +467,7 @@ namespace build2 }; link_.process_libraries ( - sys_lib_dirs, l, l.is_a<liba> (), true, nullptr, opt); + sys_lib_dirs, l, l.is_a<liba> (), nullptr, nullptr, opt); } auto compile:: |