Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux: ensure GLib's g_print*() functions wrap the system ones #264

Merged
merged 1 commit into from
Feb 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions platforms/linux-armv6/meson.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ ld = 'arm-rpi-linux-gnueabihf-gcc-ld'
strip = 'arm-rpi-linux-gnueabihf-strip'
ranlib = 'arm-rpi-linux-gnueabihf-gcc-ranlib'

[properties]
# https://docs.gtk.org/glib/cross-compiling.html#cross-properties
have_c99_vsnprintf = true
have_c99_snprintf = true
have_unix98_printf = true

[built-in options]
libdir = 'lib'
datadir = '/usr/share'
Expand Down
6 changes: 6 additions & 0 deletions platforms/linux-ppc64le/meson.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ strip = 'powerpc64le-linux-gnu-strip'
ranlib = 'powerpc64le-linux-gnu-gcc-ranlib'
#exe_wrapper = 'qemu-ppc64le-static'

[properties]
# https://docs.gtk.org/glib/cross-compiling.html#cross-properties
have_c99_vsnprintf = true
have_c99_snprintf = true
have_unix98_printf = true

[built-in options]
libdir = 'lib'
datadir = '/usr/share'
Expand Down
6 changes: 6 additions & 0 deletions platforms/linux-s390x/meson.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ strip = 's390x-linux-gnu-strip'
ranlib = 's390x-linux-gnu-gcc-ranlib'
#exe_wrapper = 'qemu-s390x-static'

[properties]
# https://docs.gtk.org/glib/cross-compiling.html#cross-properties
have_c99_vsnprintf = true
have_c99_snprintf = true
have_unix98_printf = true

[built-in options]
libdir = 'lib'
datadir = '/usr/share'
Expand Down
6 changes: 5 additions & 1 deletion platforms/linuxmusl-arm64v8/meson.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,14 @@ ld = 'aarch64-linux-musl-ld'
strip = 'aarch64-linux-musl-strip'
ranlib = 'aarch64-linux-musl-ranlib'

[properties]
# Ensure we disable the inotify backend in GIO
# See: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2991#note_1592863
[properties]
has_function_inotify_init1 = false
# https://docs.gtk.org/glib/cross-compiling.html#cross-properties
have_c99_vsnprintf = true
have_c99_snprintf = true
have_unix98_printf = true

[built-in options]
libdir = 'lib'
Expand Down
2 changes: 1 addition & 1 deletion platforms/linuxmusl-x64/meson.ini
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[binaries]
strip = 'strip'

[properties]
# Ensure we disable the inotify backend in GIO
# See: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2991#note_1592863
[properties]
has_function_inotify_init1 = false

[built-in options]
Expand Down