summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-04 12:48:27 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-04 14:15:57 +0100
commit6d41d0dab7320c94f8e8d95d5e76a1e2c84b3dd0 (patch)
tree551fc08dba3422d95738294d787660948bf8d1ac /meta/classes
parent990deb3b894806b512f061759e11e9aa84b2d98a (diff)
downloadpoky-6d41d0dab7320c94f8e8d95d5e76a1e2c84b3dd0.tar.gz
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>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/package.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index f6f93106ac..50490bc89d 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -1386,7 +1386,7 @@ python package_do_shlibs() {
1386 1386
1387 if (file.endswith('.dylib') or file.endswith('.so')) and not pkg.endswith('-dev') and not pkg.endswith('-dbg'): 1387 if (file.endswith('.dylib') or file.endswith('.so')) and not pkg.endswith('-dev') and not pkg.endswith('-dbg'):
1388 # Drop suffix 1388 # Drop suffix
1389 name = file.rsplit(".",1)[0] 1389 name = os.path.basename(file).rsplit(".",1)[0]
1390 # Find all combinations 1390 # Find all combinations
1391 combos = get_combinations(name) 1391 combos = get_combinations(name)
1392 for combo in combos: 1392 for combo in combos: