summaryrefslogtreecommitdiff
path: root/lib/build.sh
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-09-26 12:25:26 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-09-26 12:25:26 -0500
commit300cefd1a78ebeddb139a32fa7e1478a3f4225b4 (patch)
tree5060cdb9bb4ddab65c35b9e8b3dd10adc672daa9 /lib/build.sh
parent7c288b956d02f7a5157970876697b76fe66aaeae (diff)
downloadfork-ledger-300cefd1a78ebeddb139a32fa7e1478a3f4225b4.tar.gz
fork-ledger-300cefd1a78ebeddb139a32fa7e1478a3f4225b4.tar.bz2
fork-ledger-300cefd1a78ebeddb139a32fa7e1478a3f4225b4.zip
Changes to support using homebrew and ninja
Diffstat (limited to 'lib/build.sh')
-rwxr-xr-xlib/build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/build.sh b/lib/build.sh
index 4fadccfa..4f3f2e7f 100755
--- a/lib/build.sh
+++ b/lib/build.sh
@@ -4,7 +4,7 @@
# clang-3.1 from MacPorts. I build my own Boost instead of using MacPorts'
# Boost in order to get better debugging support, and to link with libc++.
-export PATH=$PATH:/opt/local/lib/openmpi/bin
+#export PATH=$PATH:/opt/local/lib/openmpi/bin
cat > ~/user-config.jam <<EOF
using clang-darwin : : "/usr/local/bin/clang++" : <cxxflags>-std=c++11 ;
@@ -14,4 +14,4 @@ EOF
# instead of /usr/local/lib/libc++.1.dylib
make CXX=clang++ LD=clang++ CC=clang OPTJ=-j20 \
BOOST_TOOLSET=clang-darwin DIR_SUFFIX=clang31 \
- BOOST_DEFINES="-sHAVE_ICONV=1 -sICONV_PATH=/usr/local -sHAVE_ICU=1 -sICU_PATH=/usr/local cxxflags=\"-g -std=c++11 $* -nostdlibinc -isystem /usr/local/include -isystem /opt/local/include -isystem /usr/local/include/c++/v1 -isystem /usr/include -stdlib=libc++\" linkflags=\"-g $* -L/usr/local/lib -L/opt/local/lib -L/usr/lib /usr/local/lib/libc++.dylib -stdlib=libc++\""
+ BOOST_DEFINES="-sHAVE_ICONV=1 -sHAVE_ICU=1 -sICU_PATH=/usr/local/opt/icu4c cxxflags=\"-g -std=c++11 $* -nostdlibinc -isystem /usr/local/include -isystem /usr/local/include/c++/v1 -isystem /usr/include -stdlib=libc++\" linkflags=\"-g $* -L/usr/local/lib -L/usr/lib /usr/local/lib/libc++.dylib -stdlib=libc++\""