[Bug #19831] Remove duplicate library options

`$(LIBRUBYARG_SHARED)` is included in `$(LIBS)` in extension
libraries.
This commit is contained in:
Nobuyoshi Nakada 2023-08-17 12:18:01 +09:00
Родитель e210b899dc
Коммит d26b015e83
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -3061,8 +3061,7 @@ AC_SUBST(EXTOBJS)
: ${LIBPATHENV=DYLD_FALLBACK_LIBRARY_PATH}
: ${PRELOADENV=DYLD_INSERT_LIBRARIES}
AS_IF([test x"$enable_shared" = xyes], [
# Resolve symbols from libruby.dylib when --enable-shared
EXTDLDFLAGS='$(LIBRUBYARG_SHARED)'
# Resolve symbols from libruby.dylib in $(LIBS) when --enable-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