summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xacprep3
1 files changed, 3 insertions, 0 deletions
diff --git a/acprep b/acprep
index 6b15fd67..1d5ecc8c 100755
--- a/acprep
+++ b/acprep
@@ -66,6 +66,9 @@ LIBDIRS="$LIBDIRS -L$PYTHON_HOME/lib/python$PYTHON_VERSION/config"
SYSTEM=$(uname -s)
if [ $SYSTEM = Linux ]; then
+ if [ "$(uname -m)" = x86_64 ]; then
+ SWITCHES="--disable-static"
+ fi
CXXFLAGS="-pthread"
elif [ $SYSTEM = Solaris ]; then
CXXFLAGS="-pthreads"