Message ID | 20240330064111.2531269-3-lxy204899@163.com |
---|---|
State | New |
Headers | show |
Series | *** SUBJECT HERE *** | expand |
diff --git a/meta/lib/oe/package.py b/meta/lib/oe/package.py index 587810bd..1511ba47 100644 --- a/meta/lib/oe/package.py +++ b/meta/lib/oe/package.py @@ -1660,7 +1660,7 @@ def process_shlibs(pkgfiles, d): if (file.endswith(".dll") or file.endswith(".exe")): # use objdump to search for "DLL Name: .*\.dll" - p = subprocess.Popen([d.expand("${HOST_PREFIX}objdump"), "-p", file], stdout=subprocess.PIPE, stderr=subprocess.PIPE) + p = subprocess.Popen([d.expand("${OBJDUMP}"), "-p", file], stdout=subprocess.PIPE, stderr=subprocess.PIPE) out, err = p.communicate() # process the output, grabbing all .dll names if p.returncode == 0: