forked from mirrors/nixpkgs
pruneLibtoolFiles: check if prefix exists
This commit is contained in:
parent
9cd155f1e2
commit
93545a8910
|
@ -8,7 +8,7 @@
|
|||
fixupOutputHooks+=(_pruneLibtoolFiles)
|
||||
|
||||
_pruneLibtoolFiles() {
|
||||
if [ "$dontPruneLibtoolFiles" ]; then
|
||||
if [ "$dontPruneLibtoolFiles" ] || [ ! -e "$prefix" ]; then
|
||||
return
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue