зеркало из https://github.com/github/ruby.git
Resolve abi symbols from libruby.dylib when available
This commit is contained in:
Родитель
6d8b9a9d61
Коммит
184fd94d7e
11
configure.ac
11
configure.ac
|
@ -3011,10 +3011,13 @@ STATIC=
|
|||
: ${LDFLAGS=""}
|
||||
: ${LIBPATHENV=DYLD_FALLBACK_LIBRARY_PATH}
|
||||
: ${PRELOADENV=DYLD_INSERT_LIBRARIES}
|
||||
AS_IF([test "x$EXTSTATIC" = x], [
|
||||
# When building ext bundles, a mach-o bundle needs to know its loader
|
||||
# program to bind symbols from the ruby executable
|
||||
EXTDLDFLAGS="-bundle_loader '\$(BUILTRUBY)'"
|
||||
AS_IF([test x"$enable_shared" = xyes], [
|
||||
# Resolve symbols from libruby.dylib when --enable-shared
|
||||
EXTDLDFLAGS='$(LIBRUBYARG_SHARED)'
|
||||
], [test "x$EXTSTATIC" = x], [
|
||||
# When building exts as bundles, a mach-o bundle needs to know its loader
|
||||
# program to bind symbols from the ruby executable
|
||||
EXTDLDFLAGS="-bundle_loader '\$(BUILTRUBY)'"
|
||||
])
|
||||
rb_cv_dlopen=yes],
|
||||
[aix*], [ : ${LDSHARED='$(CC)'}
|
||||
|
|
Загрузка…
Ссылка в новой задаче