Don't use rpath
authorStefano Zacchiroli <zack@debian.org>
Tue, 19 May 2009 15:24:14 +0000 (17:24 +0200)
committerRaspbian forward porter <root@raspbian.org>
Sat, 7 Jan 2017 06:25:05 +0000 (06:25 +0000)
Gbp-Pq: Name 0003-Don-t-use-rpath.patch

tools/ocamlmklib.ml

index 23a273ec12c2a5289bae0ba420bcc36a120d0539..a5e0d341592c7b25c5cdf2ac9fee1562abe5cfaa 100644 (file)
@@ -40,6 +40,11 @@ and rpath = ref []          (* rpath options *)
 and debug = ref false       (* -g option *)
 and verbose = ref false
 
+(* Debian specific: inhibit rpath *)
+let byteccrpath = ""
+and nativeccrpath = ""
+and mksharedlibrpath = ""
+
 let starts_with s pref =
   String.length s >= String.length pref &&
   String.sub s 0 (String.length pref) = pref