summaryrefslogtreecommitdiff
path: root/src/bindings/cxx/eolian_cxx
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/cxx/eolian_cxx
parent42a23d1afa23c82b0aa0a7de7a89746115ff7826 (diff)
build: make bindings cross compileable
Differential Revision: https://phab.enlightenment.org/D7470
Diffstat (limited to 'src/bindings/cxx/eolian_cxx')
-rw-r--r--src/bindings/cxx/eolian_cxx/meson.build8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/bindings/cxx/eolian_cxx/meson.build b/src/bindings/cxx/eolian_cxx/meson.build
index 219ffa334b..43590d3f9f 100644
--- a/src/bindings/cxx/eolian_cxx/meson.build
+++ b/src/bindings/cxx/eolian_cxx/meson.build
@@ -63,10 +63,16 @@ endforeach
63 63
64inc_dir = include_directories(join_paths('..', '..', '..', 'lib', 'eolian_cxx')) 64inc_dir = include_directories(join_paths('..', '..', '..', 'lib', 'eolian_cxx'))
65 65
66eolian_cxx_gen = executable('eolian_cxx', 66eolian_cxx_gen_bin = executable('eolian_cxx',
67 join_paths('..', '..', '..', 'bin', 'eolian_cxx', 'eolian_cxx.cc'), 67 join_paths('..', '..', '..', 'bin', 'eolian_cxx', 'eolian_cxx.cc'),
68 dependencies: [eina_cxx, eolian], 68 dependencies: [eina_cxx, eolian],
69 install: true, 69 install: true,
70 include_directories : inc_dir, 70 include_directories : inc_dir,
71 cpp_args : package_c_args, 71 cpp_args : package_c_args,
72 ) 72 )
73
74if meson.is_cross_build()
75 eolian_cxx_gen = find_program('eolian_cxx', native: true)
76else
77 eolian_cxx_gen = eolian_cxx_gen_bin
78endif