Issue #12717: file-bmp plugin broke cross-build with generated source

- build 'generate-huffman' natively when cross-building
- also reenable build of file-bmp for cross-builds
This commit is contained in:
Rupert 2025-01-13 16:46:17 +01:00 committed by Bruno
parent 51e719191d
commit e51b84e77b
2 changed files with 3 additions and 5 deletions

View File

@ -1,7 +1,8 @@
plugin_name = 'file-bmp'
gen_huffman = executable('generate-huffman',
'generate-huffman.c'
'generate-huffman.c',
native: true
)
huffman = custom_target('huffman.h',

View File

@ -1,4 +1,5 @@
subdir('common')
subdir('file-bmp')
subdir('file-dds')
subdir('file-exr')
subdir('file-faxg3')
@ -31,7 +32,3 @@ subdir('screenshot')
subdir('script-fu')
subdir('selection-to-path')
subdir('twain')
if not meson.is_cross_build()
subdir('file-bmp')
endif