Skip to content

Commit 0e29f02

Browse files
committed
Updated make file to set appropriate path for execution
1 parent cfecc97 commit 0e29f02

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

make.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ if [[ "$CONFIG" =~ ^(debug|release)$ ]]; then
3333
echo "IGIS_LIBRARY_DEBUG_PATH at $IGIS_LIBRARY_DEBUG_PATH"
3434
echo "SCENES_LIBRARY_DEBUG_PATH at $SCENES_LIBRARY_DEBUG_PATH"
3535
echo "Building debug configuration..."
36+
LD_LIBRARY_PATH="$IGIS_LIBRARY_DEBUG_PATH:$SCENES_LIBRARY_DEBUG_PATH:$CURSES_LIBRARY_DEBUG_PATH:$NCURSES_LIBRARY_DEBUG_PATH:$LOGICAL_OPERATORS_LIBRARY_DEBUG_PATH"
3637
swift $MODE -c debug -Xswiftc -I -Xswiftc $IGIS_LIBRARY_DEBUG_PATH -Xswiftc -L -Xswiftc $IGIS_LIBRARY_DEBUG_PATH -Xswiftc -I -Xswiftc $SCENES_LIBRARY_DEBUG_PATH -Xswiftc -L -Xswiftc $SCENES_LIBRARY_DEBUG_PATH -Xswiftc -lIgis -Xswiftc -lScenes
3738
else
3839
if [[ -z "$IGIS_LIBRARY_RELEASE_PATH" ]]; then
@@ -48,6 +49,7 @@ if [[ "$CONFIG" =~ ^(debug|release)$ ]]; then
4849
echo "IGIS_LIBRARY_RELEASE_PATH at $IGIS_LIBRARY_RELEASE_PATH"
4950
echo "SCENES_LIBRARY_RELEASE_PATH at $SCENES_LIBRARY_RELEASE_PATH"
5051
echo "Building release configuration..."
52+
LD_LIBRARY_PATH="$IGIS_LIBRARY_RELEASE_PATH:$SCENES_LIBRARY_RELEASE_PATH:$CURSES_LIBRARY_RELEASE_PATH:$NCURSES_LIBRARY_RELEASE_PATH:$LOGICAL_OPERATORS_LIBRARY_RELEASE_PATH"
5153
swift $MODE -c release -Xswiftc -I -Xswiftc $IGIS_LIBRARY_RELEASE_PATH -Xswiftc -L -Xswiftc $IGIS_LIBRARY_RELEASE_PATH -Xswiftc -I -Xswiftc $SCENES_LIBRARY_RELEASE_PATH -Xswiftc -L -Xswiftc $SCENES_LIBRARY_RELEASE_PATH -Xswiftc -lIgis -Xswiftc -lScenes
5254
fi
5355
else

0 commit comments

Comments
 (0)