a1d93e97ab
The aws tools were linked to libssl without rpath. If libssl is not located in a standard library search path, the rtld will not be able to find it (as seen on Joyent dev area). This change links the libssl runpath to the tools.
22 lines
621 B
Text
22 lines
621 B
Text
$NetBSD: patch-tools_tools.gpr,v 1.1 2014/05/09 23:58:21 marino Exp $
|
|
|
|
Establish runpath to libssl for aws tools
|
|
|
|
--- tools/tools.gpr.orig 2013-07-03 01:11:54.000000000 +0000
|
|
+++ tools/tools.gpr
|
|
@@ -98,11 +98,13 @@ project Tools is
|
|
|
|
package Linker is
|
|
|
|
+ linx := ("@RFLAG@", "@SSL_RPATH@");
|
|
+
|
|
case Shared.Build is
|
|
when "Release" =>
|
|
- for Default_Switches ("Ada") use ("-s");
|
|
+ for Default_Switches ("Ada") use ("-s") & linx;
|
|
when others =>
|
|
- null;
|
|
+ for Default_Switches ("Ada") use linx;
|
|
end case;
|
|
|
|
case Shared.S_Target is
|