mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-16 06:30:41 +00:00
Ports: Force glib to link against gcc_s during the configure stage
This commit is contained in:
parent
9dde7dcd70
commit
283aa43bf9
|
@ -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[@]}"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue