From 309fceac6bc951ca77086f2d56ff15aebdeb88de Mon Sep 17 00:00:00 2001 From: Pavel Charvat Date: Sun, 10 Aug 2014 14:52:45 +0000 Subject: [PATCH] Build: Forced linker to find the currently compiled libraries instead of possibly installed ones. --- ucw/perl/UCW/Configure/C.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" => ''); } -- 2.39.2