summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-09 19:09:26 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-09 19:09:26 -0400
commit7f48cfc7e98125053242acf72581e02e41f257bf (patch)
tree376b5fea9d96e48ddcd62f03b7d96d5f4b0fbb78 /acprep
parent3c3606aa0dc36d4d2a3d4786b1658f255587a1f0 (diff)
downloadfork-ledger-7f48cfc7e98125053242acf72581e02e41f257bf.tar.gz
fork-ledger-7f48cfc7e98125053242acf72581e02e41f257bf.tar.bz2
fork-ledger-7f48cfc7e98125053242acf72581e02e41f257bf.zip
Use --disable-static on Linux x86_64 machines.
Diffstat (limited to 'acprep')
-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"