libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PATCH: Allow $ORIGIN to specified in the rpath


From: Ganesan Rajagopal
Subject: PATCH: Allow $ORIGIN to specified in the rpath
Date: Sat, 25 Nov 2000 13:57:14 +0530 (IST)

The following patch lets libtool accept the literal '$ORIGIN' in the
rpath. 

--- ltmain.in   2000/11/20 22:08:09     1.200.2.40
+++ ltmain.in   2000/11/25 08:09:36
@@ -951,9 +951,9 @@
          continue
          ;;
        rpath | xrpath)
-         # We need an absolute path.
+         # We need an absolute path unless it's a '$ORIGIN' directive
          case "$arg" in
-         [\\/]* | [A-Za-z]:[\\/]*) ;;
+         [\\/]* | [A-Za-z]:[\\/]* | '$ORIGIN'*) ;;
          *)
            $echo "$modename: only absolute run-paths are allowed" 1>&2
            exit 1

Ganesan

-- 
R. Ganesan (address@hidden)       | Ph: 91-80-5721856 Ext: 2149
Novell India Development Center.       | #include <std_disclaimer.h>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]