Skip to content

Commit 9237b65

Browse files
committed
Corrected paths
1 parent 787c311 commit 9237b65

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

make.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,6 @@ if [[ -z "$IGIS_LIBRARY_PATH" ]]; then
77
echo "Must provide IGIS_LIBRARY_PATH in environment" 1>&2
88
exit 1
99
fi
10+
echo "IGIS_LIBRARY_PATH at $IGIS_LIBRARY_PATH"
11+
echo "LD_LIBRARY_PATH at $LD_LIBRARY_PATH"
1012
swift build -Xswiftc -I -Xswiftc $IGIS_LIBRARY_PATH -Xswiftc -L -Xswiftc $IGIS_LIBRARY_PATH -Xswiftc -lIgis

run.sh

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

0 commit comments

Comments
 (0)