Ports: Force glib to link against gcc_s during the configure stage

This commit is contained in:
Tim Schumacher 2022-04-30 02:41:23 +02:00 committed by Linus Groh
parent 9dde7dcd70
commit 283aa43bf9

View file

@ -8,6 +8,11 @@ files="https://gitlab.gnome.org/GNOME/glib/-/archive/${version}/glib-${version}.
auth_type=sha256
configure() {
# TODO: Figure out why GCC doesn't autodetect that libgcc_s is needed.
if [ "${SERENITY_TOOLCHAIN}" = "GNU" ]; then
export LDFLAGS="-lgcc_s"
fi
run meson _build "${configopts[@]}"
}