summaryrefslogtreecommitdiff
path: root/src/bindings/mono/eolian_mono
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2018-12-17 17:30:40 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2018-12-17 17:43:08 +0100
commit4a4d32b60df31e25f2ad406c19324592fc69669a (patch)
tree8bb32b0533cdc0654f48c851faef3944b57a6f3e /src/bindings/mono/eolian_mono
parent42a23d1afa23c82b0aa0a7de7a89746115ff7826 (diff)
build: make bindings cross compileable
Differential Revision: https://phab.enlightenment.org/D7470
Diffstat (limited to 'src/bindings/mono/eolian_mono')
-rw-r--r--src/bindings/mono/eolian_mono/meson.build7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/bindings/mono/eolian_mono/meson.build b/src/bindings/mono/eolian_mono/meson.build
index 7782c7b31d..530a503647 100644
--- a/src/bindings/mono/eolian_mono/meson.build
+++ b/src/bindings/mono/eolian_mono/meson.build
@@ -1,9 +1,14 @@
1inc_dir = include_directories(join_paths('..', '..', '..', 'bin', 'eolian_mono')) 1inc_dir = include_directories(join_paths('..', '..', '..', 'bin', 'eolian_mono'))
2 2
3eolian_mono_gen = executable('eolian_mono', 3eolian_mono_gen_bin = executable('eolian_mono',
4 join_paths('..', '..', '..', 'bin', 'eolian_mono', 'eolian_mono.cc'), 4 join_paths('..', '..', '..', 'bin', 'eolian_mono', 'eolian_mono.cc'),
5 dependencies: [eina_cxx, eolian_cxx], 5 dependencies: [eina_cxx, eolian_cxx],
6 install: true, 6 install: true,
7 include_directories : inc_dir, 7 include_directories : inc_dir,
8 cpp_args : package_c_args, 8 cpp_args : package_c_args,
9 ) 9 )
10if meson.is_cross_build()
11 eolian_mono_gen = find_program('eolian_mono', native: true)
12else
13 eolian_mono_gen = eolian_mono_gen_bin
14endif