summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-08-07 05:44:03 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-08-07 05:44:03 -0400
commit8e7bf65dbc4c038b467e4c95953b619c53d9b95b (patch)
tree64abc007326d2ee526ce9da9ac5975097df309ad
parent494893f7568d9d4087cf39f150e3f099786bab6c (diff)
downloadledger-8e7bf65dbc4c038b467e4c95953b619c53d9b95b.tar.gz
ledger-8e7bf65dbc4c038b467e4c95953b619c53d9b95b.tar.bz2
ledger-8e7bf65dbc4c038b467e4c95953b619c53d9b95b.zip
Added -L flags for locating CppUnit libraries.
-rwxr-xr-xacprep2
1 files changed, 2 insertions, 0 deletions
diff --git a/acprep b/acprep
index b2647dee..1e4a04b6 100755
--- a/acprep
+++ b/acprep
@@ -189,6 +189,7 @@ while [ -n "$1" ]; do
# _GLIBCXX_DEBUG.
CPPFLAGS="$CPPFLAGS -D_GLIBCXX_DEBUG=1"
CPPFLAGS="-isystem /usr/local/stow/cppunit-debug/include $CPPFLAGS"
+ LDFLAGS="-L/usr/local/stow/cppunit-debug/lib $LDFLAGS"
BOOST_SUFFIX="-d-1_35" # I built mine with _GLIBCXX_DEBUG
@@ -256,6 +257,7 @@ while [ -n "$1" ]; do
CPPFLAGS="-isystem /usr/local/stow/cppunit/include $CPPFLAGS"
CXXFLAGS="$CXXFLAGS $ARCHFLAGS"
LDFLAGS="$LDFLAGS $ARCHFLAGS -Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk"
+ LDFLAGS="-L/usr/local/stow/cppunit/lib $LDFLAGS"
shift 1 ;;