summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-08-16 12:35:25 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-08-16 12:35:25 -0700
commit0a67f7cc95814769e43f672da28b46c3df8f32e0 (patch)
tree983c69748f88e4a9ef0eba4066bfd9a005202d72 /scripts
parent79f3f18ef6a09cf5993efad04d048b9d1d705de3 (diff)
downloadsubsurface-0a67f7cc95814769e43f672da28b46c3df8f32e0.tar.gz
Build script: make sure we find any library that we installed
Somehow libssh2 wasn't found on Mac builds - this makes sure we always add the $INSTALL_ROOT/lib as library path. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build.sh b/scripts/build.sh
index b18b1197d..bac647697 100755
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -201,5 +201,5 @@ if [ $PLATFORM = Darwin ] ; then
rm -rf Subsurface.app
fi
-make -j4
-make install
+LIBRARY_PATH=$INSTALL_ROOT/lib make -j4
+LIBRARY_PATH=$INSTALL_ROOT/lib make install