forked from mirrors/nixpkgs
b223662ad1
The sandboxed build was failing, because it relied heavily on /usr/bin/env. This is fixed with a lot of shebang patching (both to system packages and to sage-internal packages).
14 lines
415 B
Diff
14 lines
415 B
Diff
diff --git a/build/pkgs/python3/spkg-build b/build/pkgs/python3/spkg-build
|
|
index 56db087ae5..b450703c5f 100644
|
|
--- a/build/pkgs/python3/spkg-build
|
|
+++ b/build/pkgs/python3/spkg-build
|
|
@@ -27,6 +27,8 @@ fi
|
|
export EXTRA_CFLAGS="`testcflags.sh -Wno-unused` $CFLAGS"
|
|
unset CFLAGS
|
|
|
|
+export LDFLAGS="$LDFLAGS -lcrypt"
|
|
+
|
|
if [ "$UNAME" = Darwin ]; then
|
|
PYTHON_CONFIGURE="--disable-toolbox-glue $PYTHON_CONFIGURE"
|
|
|