1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Shared libruby also needs MAINLIBS for jemalloc

This commit is contained in:
Nobuyoshi Nakada 2021-07-07 10:35:15 +09:00
parent e8d9539373
commit 372d94b6ba
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6
Notes: git 2021-07-08 00:53:59 +09:00

View file

@ -3869,6 +3869,7 @@ AS_IF([test -n "${LIBS}"], [
MAINFLAGS=`echo " $MAINLIBS " | sed "s|$libspat"'||;s/^ *//;s/ *$//'`
])
LIBRUBYARG_STATIC="${LIBRUBYARG_STATIC} \$(MAINLIBS)"
LIBRUBYARG_SHARED="${LIBRUBYARG_SHARED} \$(MAINLIBS)"
CPPFLAGS="$CPPFLAGS "'$(DEFS)'
test -z "$CPPFLAGS" || CPPFLAGS="$CPPFLAGS "; CPPFLAGS="$CPPFLAGS"'${cppflags}'
AS_IF([test -n "${cflags+set}"], [