summary refs log tree commit diff
path: root/pkgs/applications/science/math/sage/spkg-python.patch
blob: e39981b6552a85bc0a291b50ff439fea239bd088 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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"