Merge pull request #168584 from linyinfeng/ignore-missing
autoPatchelfHook: fix precise dependency ignorance
This commit is contained in:
commit
ae00b02e5b
@ -53,17 +53,18 @@ autoPatchelf() {
|
||||
esac
|
||||
done
|
||||
|
||||
if [ "${autoPatchelfIgnoreMissingDeps[*]}" == "1" ]; then
|
||||
local ignoreMissingDepsArray=($autoPatchelfIgnoreMissingDeps)
|
||||
if [ "$autoPatchelfIgnoreMissingDeps" == "1" ]; then
|
||||
echo "autoPatchelf: WARNING: setting 'autoPatchelfIgnoreMissingDeps" \
|
||||
"= true;' is deprecated and will be removed in a future release." \
|
||||
"Use 'autoPatchelfIgnoreMissingDeps = [ \"*\" ];' instead." >&2
|
||||
autoPatchelfIgnoreMissingDeps=( "*" )
|
||||
ignoreMissingDepsArray=( "*" )
|
||||
fi
|
||||
|
||||
local runtimeDependenciesArray=($runtimeDependencies)
|
||||
@pythonInterpreter@ @autoPatchelfScript@ \
|
||||
${norecurse:+--no-recurse} \
|
||||
--ignore-missing "${autoPatchelfIgnoreMissingDeps[@]}" \
|
||||
--ignore-missing "${ignoreMissingDepsArray[@]}" \
|
||||
--paths "$@" \
|
||||
--libs "${autoPatchelfLibs[@]}" \
|
||||
"${extraAutoPatchelfLibs[@]}" \
|
||||
|
Loading…
Reference in New Issue
Block a user