mxml (2.6-2) 01_remove_rpath.diff

Summary

 configure    |   14 +++++++-------
 configure.in |   14 +++++++-------
 2 files changed, 14 insertions(+), 14 deletions(-)

    
download this patch

Patch contents

Patch to remove rpath from configure.in and configure. 
Added by Fathi Boudra <fboudra@free.fr>  Sun, 19 Aug 2007 14:52:14 +0200
Debian Version: 2.3-1
Index: trunk/configure.in
===================================================================
--- trunk.orig/configure.in	2007-12-15 20:40:05.000000000 -0500
+++ trunk/configure.in	2007-12-15 20:40:37.000000000 -0500
@@ -161,8 +161,8 @@
 			AC_MSG_RESULT(yes)
 			LIBMXML="libmxml.so.1.4"
 			DSO="\$(CC)"
-			DSOFLAGS="$DSOFLAGS -Wl,-h,libmxml.so.1 -G -R\$(libdir) \$(OPTIM)"
-			LDFLAGS="$LDFLAGS -R\$(libdir)"
+			DSOFLAGS="$DSOFLAGS -Wl,-h,libmxml.so.1 -G \$(OPTIM)"
+			LDFLAGS="$LDFLAGS"
                 	;;
 
 		HP-UX*)
@@ -177,23 +177,23 @@
 			AC_MSG_RESULT(yes)
 			LIBMXML="libmxml.so.1.4"
 			DSO="\$(CC)"
-			DSOFLAGS="$DSOFLAGS -Wl,-rpath,\$(libdir),-set_version,sgi1.0,-soname,libmxml.so.1 -shared \$(OPTIM)"
+			DSOFLAGS="$DSOFLAGS -Wl,-set_version,sgi1.0,-soname,libmxml.so.1 -shared \$(OPTIM)"
 			;;
 
 		OSF1* | Linux | GNU)
 			AC_MSG_RESULT(yes)
 			LIBMXML="libmxml.so.1.4"
 			DSO="\$(CC)"
-			DSOFLAGS="$DSOFLAGS -Wl,-soname,libmxml.so.1,-rpath,\$(libdir) -shared \$(OPTIM)"
-                        LDFLAGS="$LDFLAGS -Wl,-rpath,\$(libdir)"
+			DSOFLAGS="$DSOFLAGS -Wl,-soname,libmxml.so.1, -shared \$(OPTIM)"
+                        LDFLAGS="$LDFLAGS"
 			;;
 
 		*BSD*)
 			AC_MSG_RESULT(yes)
 			LIBMXML="libmxml.so.1.4"
 			DSO="\$(CC)"
-			DSOFLAGS="$DSOFLAGS -Wl,-soname,libmxml.so.1,-R\$(libdir) -shared \$(OPTIM)"
-			LDFLAGS="$LDFLAGS -Wl,-R\$(libdir)"
+			DSOFLAGS="$DSOFLAGS -Wl,-soname,libmxml.so.1 -shared \$(OPTIM)"
+			LDFLAGS="$LDFLAGS"
                         ;;
 
 		Darwin*)
Index: trunk/configure
===================================================================
--- trunk.orig/configure	2007-12-15 20:40:05.000000000 -0500
+++ trunk/configure	2007-12-15 20:40:37.000000000 -0500
@@ -4628,8 +4628,8 @@
 echo "${ECHO_T}yes" >&6; }
 			LIBMXML="libmxml.so.1.4"
 			DSO="\$(CC)"
-			DSOFLAGS="$DSOFLAGS -Wl,-h,libmxml.so.1 -G -R\$(libdir) \$(OPTIM)"
-			LDFLAGS="$LDFLAGS -R\$(libdir)"
+			DSOFLAGS="$DSOFLAGS -Wl,-h,libmxml.so.1 -G \$(OPTIM)"
+			LDFLAGS="$LDFLAGS"
                 	;;
 
 		HP-UX*)
@@ -4646,7 +4646,7 @@
 echo "${ECHO_T}yes" >&6; }
 			LIBMXML="libmxml.so.1.4"
 			DSO="\$(CC)"
-			DSOFLAGS="$DSOFLAGS -Wl,-rpath,\$(libdir),-set_version,sgi1.0,-soname,libmxml.so.1 -shared \$(OPTIM)"
+			DSOFLAGS="$DSOFLAGS -Wl,-set_version,sgi1.0,-soname,libmxml.so.1 -shared \$(OPTIM)"
 			;;
 
 		OSF1* | Linux | GNU)
@@ -4654,8 +4654,8 @@
 echo "${ECHO_T}yes" >&6; }
 			LIBMXML="libmxml.so.1.4"
 			DSO="\$(CC)"
-			DSOFLAGS="$DSOFLAGS -Wl,-soname,libmxml.so.1,-rpath,\$(libdir) -shared \$(OPTIM)"
-                        LDFLAGS="$LDFLAGS -Wl,-rpath,\$(libdir)"
+			DSOFLAGS="$DSOFLAGS -Wl,-soname,libmxml.so.1 -shared \$(OPTIM)"
+                        LDFLAGS="$LDFLAGS"
 			;;
 
 		*BSD*)
@@ -4663,8 +4663,8 @@
 echo "${ECHO_T}yes" >&6; }
 			LIBMXML="libmxml.so.1.4"
 			DSO="\$(CC)"
-			DSOFLAGS="$DSOFLAGS -Wl,-soname,libmxml.so.1,-R\$(libdir) -shared \$(OPTIM)"
-			LDFLAGS="$LDFLAGS -Wl,-R\$(libdir)"
+			DSOFLAGS="$DSOFLAGS -Wl,-soname,libmxml.so.1 -shared \$(OPTIM)"
+			LDFLAGS="$LDFLAGS"
                         ;;
 
 		Darwin*)