summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-26 14:12:59 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-26 14:12:59 -0400
commit0ed57916cfcf103a141e5edfd75bf547c03c04ad (patch)
tree58c563320f77ebcaf73195604eed6bfbe96d1aa4
parente323171147d4984e5c1d761dc5c7110821c3758f (diff)
downloadfork-ledger-0ed57916cfcf103a141e5edfd75bf547c03c04ad.tar.gz
fork-ledger-0ed57916cfcf103a141e5edfd75bf547c03c04ad.tar.bz2
fork-ledger-0ed57916cfcf103a141e5edfd75bf547c03c04ad.zip
Fixed a system-specific issue in acprep
-rwxr-xr-xacprep4
1 files changed, 3 insertions, 1 deletions
diff --git a/acprep b/acprep
index e130d6e9..5813f80e 100755
--- a/acprep
+++ b/acprep
@@ -244,7 +244,9 @@ while [ -n "$1" ]; do
LDFLAGS="-L/usr/local/stow/cppunit-debug/lib $LDFLAGS"
# I build my debug Boost libs with _GLIBCXX_DEBUG
- BOOST_SUFFIX="-xgcc40-d-$BOOST_VERSION"
+ if [ -f /usr/local/lib/libboost_regex-xgcc40-d-1_38.a ]; then
+ BOOST_SUFFIX="-xgcc40-d-$BOOST_VERSION"
+ fi
else
CPPFLAGS="-isystem /usr/local/stow/cppunit/include $CPPFLAGS"