File: 01_remove_rpath.diff

package info (click to toggle)
mxml 2.10-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 1,640 kB
  • ctags: 689
  • sloc: ansic: 8,919; xml: 1,551; makefile: 276; sh: 195; cpp: 178
file content (73 lines) | stat: -rw-r--r-- 2,595 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
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: mxml-2.10/configure
===================================================================
--- mxml-2.10.orig/configure
+++ mxml-2.10/configure
@@ -4308,8 +4308,8 @@ $as_echo_n "checking for shared library
 $as_echo "yes" >&6; }
 			LIBMXML="libmxml.so.1.5"
 			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*)
@@ -4326,7 +4326,7 @@ $as_echo "yes" >&6; }
 $as_echo "yes" >&6; }
 			LIBMXML="libmxml.so.1.5"
 			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)
@@ -4334,8 +4334,8 @@ $as_echo "yes" >&6; }
 $as_echo "yes" >&6; }
 			LIBMXML="libmxml.so.1.5"
 			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*)
@@ -4343,8 +4343,8 @@ $as_echo "yes" >&6; }
 $as_echo "yes" >&6; }
 			LIBMXML="libmxml.so.1.5"
 			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: mxml-2.10/configure.ac
===================================================================
--- mxml-2.10.orig/configure.ac
+++ mxml-2.10/configure.ac
@@ -173,8 +173,7 @@ if test x$enable_shared != xno; then
 			AC_MSG_RESULT(yes)
 			LIBMXML="libmxml.so.1.5"
 			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)"
                 	;;
 
 		HP-UX*)
@@ -204,8 +203,7 @@ if test x$enable_shared != xno; then
 			AC_MSG_RESULT(yes)
 			LIBMXML="libmxml.so.1.5"
 			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)"
                         ;;
 
 		Darwin*)