From: Richard Purdie Date: Wed, 4 Sep 2013 11:48:27 +0000 (+0100) Subject: package.bbclass: Fix darwin shlib handling X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~36129 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07e697d651178a84007123181fca38e4d98ae0e9;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Richard Purdie --- diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index f6f93106ac1..50490bc89d2 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass @@ -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: