nixpkgs/pkgs/development/libraries/iniparser/no-usr.patch

14 lines
361 B
Diff
Raw Normal View History

2017-10-20 18:37:36 +00:00
--- 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}
2017-10-20 18:37:36 +00:00
-LDSHFLAGS = -shared -Wl,-Bsymbolic
-LDFLAGS += -Wl,-rpath -Wl,/usr/lib -Wl,-rpath,/usr/lib
+LDSHFLAGS = -shared
+LDFLAGS =
2017-10-20 18:37:36 +00:00
# .so.0 is for version 3.x, .so.1 is 4.x
SO_TARGET ?= libiniparser.so.1