Skip to content

Commit

Permalink
Simplify Meson's cross build definition file
Browse files Browse the repository at this point in the history
We don't need to define these GLib-specific cross-properties if we
have a working `exe_wrapper`.
  • Loading branch information
kleisauke committed Nov 6, 2023
1 parent 31b23b1 commit b76a2c8
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions build/emscripten-crossfile.meson
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,12 @@ cpp = 'em++'
ar = 'emar'
ranlib = 'emranlib'
pkgconfig = ['pkg-config', '--static']
exe_wrapper = 'node'

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

# Ensure that `-sPTHREAD_POOL_SIZE=*` is not injected into .pc files
# Ensure that `-sPTHREAD_POOL_SIZE=4` is not injected into .pc files
[built-in options]
c_thread_count = 0
cpp_thread_count = 0
Expand Down

0 comments on commit b76a2c8

Please sign in to comment.