summary refs log tree commit diff
path: root/pkgs/development/libraries/iniparser/no-usr.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/iniparser/no-usr.patch')
-rw-r--r--pkgs/development/libraries/iniparser/no-usr.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/development/libraries/iniparser/no-usr.patch b/pkgs/development/libraries/iniparser/no-usr.patch
new file mode 100644
index 00000000000..28be099b8ee
--- /dev/null
+++ b/pkgs/development/libraries/iniparser/no-usr.patch
@@ -0,0 +1,14 @@
+diff -urN iniparser3.0b.orig/Makefile iniparser3.0b/Makefile
+--- iniparser3.0b.orig/Makefile	2008-01-16 19:56:08.000000000 +0100
++++ iniparser3.0b/Makefile	2008-01-16 19:56:49.000000000 +0100
+@@ -11,8 +11,8 @@
+ ARFLAGS = rcv
+ 
+ SHLD = ${CC} ${CFLAGS}
+-LDSHFLAGS = -shared -Wl,-Bsymbolic  -Wl,-rpath -Wl,/usr/lib -Wl,-rpath,/usr/lib
+-LDFLAGS = -Wl,-rpath -Wl,/usr/lib -Wl,-rpath,/usr/lib
++LDSHFLAGS = -shared
++LDFLAGS =
+ 
+ # Set RANLIB to ranlib on systems that require it (Sun OS < 4, Mac OSX)
+ # RANLIB  = ranlib