Skip to content

Commit

Permalink
meson: Pass --pkg-config to mkdevkit.py
Browse files Browse the repository at this point in the history
We should not be relying on it being on the PATH. And, when building
with our SDKs, we need the argument that defines the SDK prefix.
  • Loading branch information
oleavr committed Apr 10, 2024
1 parent f35ff99 commit ffda5fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,7 @@ if get_option('devkits').length() != 0
devkit_options = [
'--cc', '>>>', cc.cmd_array(), '<<<',
'--c-args', '>>>', get_option('c_args'), '<<<',
'--pkg-config', '>>>', find_program('pkg-config'), '<<<',
'--pkg-config-path', '>>>', uninstalled_dir, get_option('pkg_config_path'), '<<<',
]
if cc.get_argument_syntax() == 'msvc'
Expand Down

0 comments on commit ffda5fc

Please sign in to comment.