Add explanatory comments to disabling kmcomp

This commit is contained in:
Tim Eves 2018-12-05 17:36:30 +07:00 committed by GitHub
parent f7f1da8267
commit d985e7b7b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,6 +59,11 @@ else
wine = find_program('wine', required: false)
kmcomp_cmd = [wine, kmcomp]
if not wine.found()
# We assign the unfound wine external program object to kmcomp
# to cause the kmcomp object to fail too, as without wine we
# cannot execute kmcomp.exe on non-Windows systems.
# NOTE: a disabler() would be ideal here, but we need to support
# pre 0.45 versions of meson.
kmcomp = wine
endif
endif