Skip to content

Commit

Permalink
Use build_machine instead of host_machine for windows options
Browse files Browse the repository at this point in the history
  • Loading branch information
mgautierfr committed Aug 13, 2024
1 parent e63c653 commit fc9a5ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xapian-core/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ endif

if get_option('enable-backend-chert') or get_option('enable-backend-glass')
zlib_dep = dependency('zlib')
if host_machine.system() == 'windows'
if build_machine.system() == 'windows'
cdata.set('USE_WIN32_UUID_API', 1)
win32_need_lws2_32 = true
add_project_link_arguments('-lrpcrt4', language: 'cpp')
Expand Down

0 comments on commit fc9a5ce

Please sign in to comment.