mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
move env.d LD_LIBRARY_PATH setting to before crew runs (#8385)
This commit is contained in:
committed by
GitHub
parent
341d7fb622
commit
4d2a899ddd
@@ -151,6 +151,10 @@ for dir in "${CREW_CONFIG_PATH}/meta" "${CREW_DEST_DIR}" "${CREW_PACKAGES_PATH}"
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ "$ARMV7LONAARCH64" == '1' ]]; then
|
||||
mkdir -p "${CREW_PREFIX}/etc/env.d/"
|
||||
echo "export LD_LIBRARY_PATH=${CREW_PREFIX}/lib${LIB_SUFFIX}"> "${CREW_PREFIX}/etc/env.d/00-library"
|
||||
fi
|
||||
echo_info "\nDownloading information for Bootstrap packages..."
|
||||
echo -en "${GRAY}"
|
||||
# Use parallel mode if available.
|
||||
@@ -411,6 +415,5 @@ if [[ "$ARMV7LONAARCH64" == '1' ]]; then
|
||||
Since you have installed an armv7l Chromebrew on an aarch64 userspace
|
||||
system, you MUST run this command to complete your installation:
|
||||
"
|
||||
echo "export LD_LIBRARY_PATH=${CREW_PREFIX}/lib${LIB_SUFFIX}"> "${CREW_PREFIX}/etc/env.d/00-library"
|
||||
echo_info "source ~/.bashrc"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user