Merge pull request #219683 from symphorien/separatedebuginfo_static
separate-debug-info.sh: succeed when output only contains static libs
This commit is contained in:
commit
22b935ace8
@ -11,6 +11,9 @@ _separateDebugInfo() {
|
||||
local dst="${debug:-$out}"
|
||||
if [ "$prefix" = "$dst" ]; then return 0; fi
|
||||
|
||||
# in case there is nothing to strip, don't fail the build
|
||||
mkdir -p "$dst"
|
||||
|
||||
dst="$dst/lib/debug/.build-id"
|
||||
|
||||
# Find executables and dynamic libraries.
|
||||
|
Loading…
Reference in New Issue
Block a user