summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-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