diff options
Diffstat (limited to 'build/cxx')
-rw-r--r-- | build/cxx/rule.cxx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/build/cxx/rule.cxx b/build/cxx/rule.cxx index ebb95b9..d5a9b9c 100644 --- a/build/cxx/rule.cxx +++ b/build/cxx/rule.cxx @@ -935,7 +935,15 @@ namespace build else if ((ppt = pt->is_a<liba> ())) ; else if ((ppt = pt->is_a<libso> ())) - ; + { + // Use absolute path for the shared libraries since that's + // the path the runtime loader will use to try to find it. + // This is probably temporary until we get into the whole + // -soname/-rpath mess. + // + args.push_back (ppt->path ().string ().c_str ()); + continue; + } else continue; |