Permalink
Browse files

[osx] we want basename, not the path

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@35623 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
  • Loading branch information...
1 parent f408442 commit 273bf575398bac2cad1d2ac43a8a18680f9d2698 davilla committed Dec 12, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 configure.in
View
@@ -37,6 +37,7 @@ AC_DEFUN([XB_FIND_SONAME],
if test x$lib != x; then
# we want the path/name that is embedded in the dylib
$1_SONAME=[`otool -L $lib | grep -v lib$2.dylib | grep lib$2 | awk '{V=1; print $V}'`]
+ $1_SONAME=[`basename $$1_SONAME`]
fi
done
fi

0 comments on commit 273bf57

Please sign in to comment.