mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
package.bbclass: Only try and process static lib debug symbols on targetos != mingw*
"package.bbclass: Include dbgsrc for static libs" introduced a regression on mingw, fix this by excluding on that TARGETOS. (From OE-Core rev: 305dda730738a8fb3789047b06fcc45d10212aa3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -880,6 +880,7 @@ python split_and_strip_files () {
|
||||
|
||||
dvar = d.getVar('PKGD')
|
||||
pn = d.getVar('PN')
|
||||
targetos = d.getVar('TARGET_OS')
|
||||
|
||||
oldcwd = os.getcwd()
|
||||
os.chdir(dvar)
|
||||
@@ -1049,7 +1050,7 @@ python split_and_strip_files () {
|
||||
# Only store off the hard link reference if we successfully split!
|
||||
splitdebuginfo(file, fpath, debugsrcdir, sourcefile, d)
|
||||
|
||||
if debugsrcdir:
|
||||
if debugsrcdir and not targetos.startswith("mingw"):
|
||||
for file in staticlibs:
|
||||
append_source_info(file, sourcefile, d)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user