Skip to content

Commit 787c311

Browse files
committed
Updated library path
1 parent bc4a721 commit 787c311

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

make.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,8 @@ if [[ -z "$LD_LIBRARY_PATH" ]]; then
33
echo "Must provide LD_LIBRARY_PATH in environment" 1>&2
44
exit 1
55
fi
6-
echo "LD_LIBRARY_PATH at $LD_LIBRARY_PATH"
7-
swift build -Xswiftc -I -Xswiftc $LD_LIBRARY_PATH -Xswiftc -L -Xswiftc $LD_LIBRARY_PATH -Xswiftc -lIgis
6+
if [[ -z "$IGIS_LIBRARY_PATH" ]]; then
7+
echo "Must provide IGIS_LIBRARY_PATH in environment" 1>&2
8+
exit 1
9+
fi
10+
swift build -Xswiftc -I -Xswiftc $IGIS_LIBRARY_PATH -Xswiftc -L -Xswiftc $IGIS_LIBRARY_PATH -Xswiftc -lIgis

0 commit comments

Comments
 (0)