nixpkgs/pkgs/development/libraries/libc++abi/no-stdc++.patch
Eelco Dolstra 1117201a97 libc++abi: Don't set dylib install name to /usr/lib
This caused users of libc++abi to use the system libc++abi.
2014-09-24 13:27:02 +02:00

13 lines
414 B
Diff

diff -ru -x '*~' libcxxabi-orig/lib/buildit libcxxabi/lib/buildit
--- libcxxabi-orig/lib/buildit 2014-09-18 16:54:14.000000000 +0200
+++ libcxxabi/lib/buildit 2014-09-24 13:22:27.000000000 +0200
@@ -70,7 +66,7 @@
SOEXT=so
LDSHARED_FLAGS="-o libc++abi.so.1.0 \
-shared -nodefaultlibs -Wl,-soname,libc++abi.so.1 \
- -lpthread -lrt -lc -lstdc++"
+ -lpthread -lrt -lc"
;;
esac