From: Pavel Charvat Date: Sun, 10 Aug 2014 14:52:45 +0000 (+0000) Subject: Build: Forced linker to find the currently compiled libraries instead of possibly... X-Git-Tag: v6.1.1~8 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=309fceac6bc951ca77086f2d56ff15aebdeb88de;p=libucw.git Build: Forced linker to find the currently compiled libraries instead of possibly installed ones. --- diff --git a/ucw/perl/UCW/Configure/C.pm b/ucw/perl/UCW/Configure/C.pm index e961ca00..537955f8 100644 --- a/ucw/perl/UCW/Configure/C.pm +++ b/ucw/perl/UCW/Configure/C.pm @@ -119,7 +119,7 @@ Set("LIBS" => ""); # Extra flags for compiling and linking shared libraries Set("CSHARED" => '-fPIC'); -Append("LOPT" => "-Wl,--rpath-link,run/lib"); +Append("LOPT" => "-Wl,--rpath-link,run/lib -Lrun/lib"); if (Get("INSTALL_LIB_DIR") eq "/usr/lib") { Set("SO_LINK_PATH" => ''); }