diff options
Diffstat (limited to 'chrome/tools/build/linux/chrome-wrapper')
-rwxr-xr-x | chrome/tools/build/linux/chrome-wrapper | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/chrome/tools/build/linux/chrome-wrapper b/chrome/tools/build/linux/chrome-wrapper index ba11872..a04292f 100755 --- a/chrome/tools/build/linux/chrome-wrapper +++ b/chrome/tools/build/linux/chrome-wrapper @@ -81,13 +81,7 @@ case ":$PATH:" in esac # Always use our ffmpeg and other shared libs. -if [[ -n "$LD_LIBRARY_PATH" ]]; then - LD_LIBRARY_PATH="$HERE:$HERE/lib:$HERE/lib.target:$LD_LIBRARY_PATH" -else - LD_LIBRARY_PATH="$HERE:$HERE/lib:$HERE/lib.target" -fi -export LD_LIBRARY_PATH - +export LD_LIBRARY_PATH="$HERE:$HERE/lib:$HERE/lib.target${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}" MISSING_LIBS=$(ldd "$HERE/chrome" 2> /dev/null |grep "not found$" | cut -d" " -f 1|sed 's/\t//') CHROME_ARCH=$(check_executable "$HERE/chrome") |