mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:27:35 +00:00
Ports: Force glib to link against gcc_s during the configure stage
This commit is contained in:
parent
9dde7dcd70
commit
283aa43bf9
1 changed files with 5 additions and 0 deletions
|
@ -8,6 +8,11 @@ files="https://gitlab.gnome.org/GNOME/glib/-/archive/${version}/glib-${version}.
|
||||||
auth_type=sha256
|
auth_type=sha256
|
||||||
|
|
||||||
configure() {
|
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[@]}"
|
run meson _build "${configopts[@]}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue