Skip to content

Commit

Permalink
Set LD_LIBRARY_PATH so it also works on Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
jackjansen committed Nov 21, 2024
1 parent c49ff99 commit 775a4e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/activate
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ buildDir=`cd $myDir/../build && pwd`
export PATH="$buildDir/bin:$buildDir/bin/RelWithDebInfo:$buildDir/bin/Release:$PATH"
# Setting DYLD_LIBRARY_PATH doesn't work, but luckily it usually isn't needed
export DYLD_LIBRARY_PATH="$buildDir/lib:$DYLD_LIBRARY_PATH"
export LD_LIBRARY_PATH="$buildDir/lib:$LD_LIBRARY_PATH"
export CWIPC_LIBRARY_DIR="$buildDir/lib"
if [ -f $buildDir/venv/Scripts/activate ]; then
# Windows bash
Expand Down

0 comments on commit 775a4e8

Please sign in to comment.