]> mj.ucw.cz Git - libucw.git/commitdiff
Build: Forced linker to find the currently compiled libraries instead of possibly...
authorPavel Charvat <pchar@ucw.cz>
Sun, 10 Aug 2014 14:52:45 +0000 (14:52 +0000)
committerPavel Charvat <pchar@ucw.cz>
Sun, 10 Aug 2014 14:52:45 +0000 (14:52 +0000)
ucw/perl/UCW/Configure/C.pm

index e961ca009f9c07ad34a3447759313afae3357b4f..537955f8e8516c5b544d7731b0745f74b9df8834 100644 (file)
@@ -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" => '');
 }