mirror of
https://git.yoctoproject.org/poky
synced 2026-04-19 06:32:13 +02:00
package.bbclass: Fix darwin shlib handling
shlibs dependency calculations on darwin we not functioning correctly, we need to process the filename without the complete path. If we don't, "." characters in the path cause problems. (From OE-Core rev: 07e697d651178a84007123181fca38e4d98ae0e9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -1386,7 +1386,7 @@ python package_do_shlibs() {
|
||||
|
||||
if (file.endswith('.dylib') or file.endswith('.so')) and not pkg.endswith('-dev') and not pkg.endswith('-dbg'):
|
||||
# Drop suffix
|
||||
name = file.rsplit(".",1)[0]
|
||||
name = os.path.basename(file).rsplit(".",1)[0]
|
||||
# Find all combinations
|
||||
combos = get_combinations(name)
|
||||
for combo in combos:
|
||||
|
||||
Reference in New Issue
Block a user