summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-04-20 08:08:01 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-04-20 08:12:17 +0100
commit2d93f1c3515d0338395942b2666ec821b8f171eb (patch)
tree9c5e35fbe89331a8715d900063a3d6e2fc677ca7 /meta
parenta0edc4917a78c6a9e820e556e544ba5630a6d07a (diff)
downloadpoky-2d93f1c3515d0338395942b2666ec821b8f171eb.tar.gz
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>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/package.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index fff7cebbe3..0436d919e7 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -880,6 +880,7 @@ python split_and_strip_files () {
880 880
881 dvar = d.getVar('PKGD') 881 dvar = d.getVar('PKGD')
882 pn = d.getVar('PN') 882 pn = d.getVar('PN')
883 targetos = d.getVar('TARGET_OS')
883 884
884 oldcwd = os.getcwd() 885 oldcwd = os.getcwd()
885 os.chdir(dvar) 886 os.chdir(dvar)
@@ -1049,7 +1050,7 @@ python split_and_strip_files () {
1049 # Only store off the hard link reference if we successfully split! 1050 # Only store off the hard link reference if we successfully split!
1050 splitdebuginfo(file, fpath, debugsrcdir, sourcefile, d) 1051 splitdebuginfo(file, fpath, debugsrcdir, sourcefile, d)
1051 1052
1052 if debugsrcdir: 1053 if debugsrcdir and not targetos.startswith("mingw"):
1053 for file in staticlibs: 1054 for file in staticlibs:
1054 append_source_info(file, sourcefile, d) 1055 append_source_info(file, sourcefile, d)
1055 1056