mirror of
https://github.com/thestk/stk
synced 2026-01-11 20:11:52 +00:00
Set the install_name for the macOS dylib
Just like on Linux where one sets a shared library's soname, one should set a macOS dylib's install_name, but unlike on Linux, on macOS the install_name should be the absolute path where the library will be installed. Fixes #40
This commit is contained in:
@@ -120,7 +120,7 @@ case $host in
|
||||
*-apple*)
|
||||
AC_SUBST( sharedlib, ["libstk.dylib"] )
|
||||
AC_SUBST( sharedname, ["${basesharedname}.dylib"] )
|
||||
AC_SUBST( libflags, ["-dynamiclib -o ${basesharedname}.dylib"] )
|
||||
AC_SUBST( libflags, ["-dynamiclib -install_name \$(libdir)/${basesharedname}.dylib -o ${basesharedname}.dylib"] )
|
||||
esac
|
||||
|
||||
if test $realtime = yes; then
|
||||
|
||||
Reference in New Issue
Block a user