Fix LD_LIBRARY_PATH and CMAKE_LIBRARY_PATH
@@ -37,9 +37,8 @@ cd $BUILD_DIR
export TMPDIR=/tmp/
if [[ $(uname) == Linux ]]; then
- CMAKE_LIBRARY_PATH=$BUILD_PREFIX/x86_64-conda_cos6-linux-gnu/sysroot/usr/lib64/
- # Tell Linux where to find libGL.so.1 and other libs needed for Qt
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$BUILD_PREFIX/x86_64-conda_cos6-linux-gnu/sysroot/usr/lib64/
+ CMAKE_LIBRARY_PATH=$BUILD_PREFIX/x86_64-conda_cos6-linux-gnu/sysroot/usr/lib/
+ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$BUILD_PREFIX/x86_64-conda_cos6-linux-gnu/sysroot/usr/lib/
fi
# Start Build
