diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-04 12:48:27 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-04 14:11:27 +0100 |
commit | 07e697d651178a84007123181fca38e4d98ae0e9 (patch) | |
tree | 000954a601c36fa61e59945667ce297f16927922 | |
parent | 2ca72d35e839a0fa24d33bf75343f187792f4e2c (diff) | |
download | openembedded-core-07e697d651178a84007123181fca38e4d98ae0e9.tar.gz openembedded-core-07e697d651178a84007123181fca38e4d98ae0e9.tar.bz2 openembedded-core-07e697d651178a84007123181fca38e4d98ae0e9.zip |
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 <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/package.bbclass | 2 |
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() { 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: |