aboutsummaryrefslogtreecommitdiffstats
path: root/main/iniparser/rpath.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/iniparser/rpath.patch')
-rw-r--r--main/iniparser/rpath.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/main/iniparser/rpath.patch b/main/iniparser/rpath.patch
index eafa5d450a6..ef7097fbea6 100644
--- a/main/iniparser/rpath.patch
+++ b/main/iniparser/rpath.patch
@@ -1,10 +1,10 @@
---- ./Makefile.orig
-+++ ./Makefile
-@@ -18,7 +18,6 @@
+--- a/Makefile
++++ b/Makefile
+@@ -21,7 +21,6 @@
SHLD = ${CC} ${CFLAGS}
LDSHFLAGS = -shared -Wl,-Bsymbolic
-LDFLAGS += -Wl,-rpath -Wl,/usr/lib -Wl,-rpath,/usr/lib
- # Set RANLIB to ranlib on systems that require it (Sun OS < 4, Mac OSX)
- # RANLIB = ranlib
+ # .so.0 is for version 3.x, .so.1 is 4.x
+ SO_TARGET ?= libiniparser.so.1