Ensure jemalloc is always linked with ruby binary

This commit is contained in:
Stan Hu 2022-02-07 07:34:08 +00:00 committed by Balasankar 'Balu' C
parent 908944a211
commit b62cf0d32f

View file

@ -55,6 +55,8 @@ if [[ -d "/patches/ruby/$RUBY_VERSION" ]]; then
fi
# Compile
# This is needed for Ruby < 3.1 on Debian bullseye: https://bugs.ruby-lang.org/issues/18409
export LDFLAGS="-Wl,--no-as-needed"
cflags="-fno-omit-frame-pointer" ./configure --enable-shared --with-jemalloc --disable-install-doc --disable-install-rdoc --disable-install-capi
make install -j $(nproc)