From: Steinar H. Gunderson Date: Fri, 21 Jun 2019 20:11:39 +0000 (+0200) Subject: Fix cross-compilation. X-Git-Tag: 1.9.0~12 X-Git-Url: https://git.sesse.net/?p=nageru;a=commitdiff_plain;h=69ca346ecb6d52febde969af332142131a501d33 Fix cross-compilation. Patch from Helmut Grohne. --- diff --git a/shared/meson.build b/shared/meson.build index 4692d01..5653528 100644 --- a/shared/meson.build +++ b/shared/meson.build @@ -31,7 +31,7 @@ shareddep = declare_dependency( include_directories: top_include, link_with: [shared, protobuf_lib]) -bin2h = executable('bin2h', 'bin2h.cpp') +bin2h = executable('bin2h', 'bin2h.cpp', native: true) bin2h_gen = generator(bin2h, \ output : ['@PLAINNAME@.cpp'], arguments : ['@INPUT@', '@PLAINNAME@', '@OUTPUT@'])