Skip to content

Commit

Permalink
make: Setting meson help2man to only run when not on Windows
Browse files Browse the repository at this point in the history
Setting detection/use of help2man to only run for non-Windows build platforms for now.

Signed-off-by: Tyler Erickson <[email protected]>
  • Loading branch information
vonericsen committed May 31, 2024
1 parent 870c1b0 commit 544338b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -153,14 +153,15 @@ if target_machine.system() == 'windows'
endif

usehelp2man = false
if meson.can_run_host_binaries()
help2man = find_program('help2man', required : false)
if help2man.found()
usehelp2man = true
if target_machine.system() != 'windows'
if meson.can_run_host_binaries()
help2man = find_program('help2man', required : false)
if help2man.found()
usehelp2man = true
endif
endif
endif


opensea_common = subproject('opensea-common')
opensea_common_dep = opensea_common.get_variable('opensea_common_dep')

Expand Down

0 comments on commit 544338b

Please sign in to comment.