Skip to content

Commit

Permalink
hosted/meson: Make sure HIDAPI is built with appropriate standards mo…
Browse files Browse the repository at this point in the history
…des in the fallback paths
  • Loading branch information
dragonmux committed Jul 23, 2024
1 parent bcd01ea commit 2607ab3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/platforms/hosted/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ if build_machine.system() == 'linux'
fallback: ['hidapi', 'hidapi_hidraw_dep'],
native: is_cross_build,
default_options: [
'c_std=gnu99',
'default_library=static',
'install_targets=false',
'with_libusb=false',
Expand All @@ -185,6 +186,7 @@ else
fallback: 'hidapi',
native: is_cross_build,
default_options: [
'c_std=c99',
'default_library=static',
'install_targets=false',
'build_native=true',
Expand Down

0 comments on commit 2607ab3

Please sign in to comment.