smtk-import: Fix build script

Subsurface build needs install-root path to link libdc

Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com>
This commit is contained in:
Salvador Cuñat 2020-07-20 20:45:26 +02:00 committed by Dirk Hohndel
parent 73151ca1d9
commit 45812da046

View file

@ -151,7 +151,7 @@ cmake -DBTSUPPORT=OFF \
build
cd build || aborting "Couldn't cd into $SSRF_PATH/build directory"
make clean
make "$JOBS" || STATUS=1
LIBRARY_PATH=$INSTALL_ROOT/lib make "$JOBS" || STATUS=1
# Restore initial state of subsurface building system:
echo "----> Restoring Subsurface tree state"