nixpkgs/pkgs/development/libraries/libc++abi/darwin.patch

18 lines
707 B
Diff
Raw Normal View History

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
@@ -51,12 +51,8 @@
-dynamiclib -nodefaultlibs \
-current_version ${RC_ProjectSourceVersion} \
-compatibility_version 1 \
- -install_name /usr/lib/libc++abi.dylib \
+ -install_name $out/lib/libc++abi.dylib \
-lSystem"
- if [ -f "${SDKROOT}/usr/local/lib/libCrashReporterClient.a" ]
- then
- LDSHARED_FLAGS+=" -lCrashReporterClient"
- fi
;;
*-*-mingw*)
# FIXME: removing libgcc and libsupc++ dependencies means porting libcxxrt and LLVM/compiler-rt