[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] relax -rpath argument test for Snow Leopard
From: |
Leo Davis |
Subject: |
[PATCH] relax -rpath argument test for Snow Leopard |
Date: |
Wed, 22 Sep 2010 20:00:50 -0600 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.9) Gecko/20100915 Lightning/1.0b2 Thunderbird/3.1.4 |
Hello,
I had to patch libtool in order to get shared libraries to build with
the Snow Leopard '@rpath/' syntax which stands in for the place where
the lib gets installed. I thought that this might be useful for more
than just myself.
Cheers,
Leo
>From a7f66c6ae219f335d79464350d76245a707e56f9 Mon Sep 17 00:00:00 2001
From: Leo Davis <address@hidden>
Date: Wed, 22 Sep 2010 19:29:11 -0600
Subject: [PATCH] relax -rpath argument test for Snow Leopard
* libltdl/config/ltmain.m4sh: Relax the absolute path rules requirement
for -rpath a little to allow '@rpath/' to begin the string for Darwin
(Snow Leopard) load paths.
---
libltdl/config/ltmain.m4sh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 0418007..3b21851 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -4607,9 +4607,9 @@ func_mode_link ()
continue
;;
rpath | xrpath)
- # We need an absolute path.
+ # We need an absolute path or a runpath.
case $arg in
- [\\/]* | [A-Za-z]:[\\/]*) ;;
+ [\\/]* | [A-Za-z]:[\\/]* | @rpath[\\/]*) ;;
*)
func_fatal_error "only absolute run-paths are allowed"
;;
--
1.7.2.3
- [PATCH] relax -rpath argument test for Snow Leopard,
Leo Davis <=