setupvars.sh: Removing extra semicolon, which breaks glibc build (#11849)
This extra semicolon creates an output as example below. The extra '::' is equivalent to add '.' as part of the LD_LIBRARY_PATH. This breaks glibc build, and very often creates weird issue when launch commands from different path. ...inference_engine/external/tbb/lib::/opt/intel/openvino_2021/... We also noticed that :${parameter:+:$parameter} is widely used in this file. Please review the code and fix as needed.
This commit is contained in:
parent
72505b1d82
commit
4125d71ce8
@ -51,7 +51,7 @@ if [ -e "$INSTALLDIR/runtime/3rdparty/tbb" ]; then
|
||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
export DYLD_LIBRARY_PATH=$INSTALLDIR/runtime/3rdparty/tbb/lib:${DYLD_LIBRARY_PATH:+:$DYLD_LIBRARY_PATH}
|
||||
fi
|
||||
export LD_LIBRARY_PATH=$INSTALLDIR/runtime/3rdparty/tbb/lib:${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
|
||||
export LD_LIBRARY_PATH=$INSTALLDIR/runtime/3rdparty/tbb/lib:${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH}
|
||||
export TBB_DIR=$INSTALLDIR/runtime/3rdparty/tbb/cmake
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user