nixpkgs-suyu/pkgs/development/libraries/iniparser/no-usr.patch
2017-10-22 17:02:35 +02:00

13 lines
361 B
Diff

--- a/Makefile 2017-10-20 20:30:41.494608284 +0200
+++ b/Makefile 2017-10-20 20:33:22.279212026 +0200
@@ -20,8 +20,8 @@
ARFLAGS = rcv
SHLD = ${CC} ${CFLAGS}
-LDSHFLAGS = -shared -Wl,-Bsymbolic
-LDFLAGS += -Wl,-rpath -Wl,/usr/lib -Wl,-rpath,/usr/lib
+LDSHFLAGS = -shared
+LDFLAGS =
# .so.0 is for version 3.x, .so.1 is 4.x
SO_TARGET ?= libiniparser.so.1