Fix compiling native when main project is cross-compiling

This commit is contained in:
Noah Knegt
2022-10-13 15:36:10 +02:00
parent 37b61d2be2
commit fc5b33ce71
+3 -1
View File
@@ -8,4 +8,6 @@ unity_dir = include_directories('.')
unity_lib = static_library(meson.project_name(),
'unity.c',
include_directories: unity_dir)
include_directories: unity_dir,
native: true
)