forked from enlightenment/efl
build: make bindings cross compileable
Differential Revision: https://phab.enlightenment.org/D7470
This commit is contained in:
parent
42a23d1afa
commit
4a4d32b60d
|
@ -63,10 +63,16 @@ endforeach
|
|||
|
||||
inc_dir = include_directories(join_paths('..', '..', '..', 'lib', 'eolian_cxx'))
|
||||
|
||||
eolian_cxx_gen = executable('eolian_cxx',
|
||||
eolian_cxx_gen_bin = executable('eolian_cxx',
|
||||
join_paths('..', '..', '..', 'bin', 'eolian_cxx', 'eolian_cxx.cc'),
|
||||
dependencies: [eina_cxx, eolian],
|
||||
install: true,
|
||||
include_directories : inc_dir,
|
||||
cpp_args : package_c_args,
|
||||
)
|
||||
|
||||
if meson.is_cross_build()
|
||||
eolian_cxx_gen = find_program('eolian_cxx', native: true)
|
||||
else
|
||||
eolian_cxx_gen = eolian_cxx_gen_bin
|
||||
endif
|
||||
|
|
|
@ -1,9 +1,14 @@
|
|||
inc_dir = include_directories(join_paths('..', '..', '..', 'bin', 'eolian_mono'))
|
||||
|
||||
eolian_mono_gen = executable('eolian_mono',
|
||||
eolian_mono_gen_bin = executable('eolian_mono',
|
||||
join_paths('..', '..', '..', 'bin', 'eolian_mono', 'eolian_mono.cc'),
|
||||
dependencies: [eina_cxx, eolian_cxx],
|
||||
install: true,
|
||||
include_directories : inc_dir,
|
||||
cpp_args : package_c_args,
|
||||
)
|
||||
if meson.is_cross_build()
|
||||
eolian_mono_gen = find_program('eolian_mono', native: true)
|
||||
else
|
||||
eolian_mono_gen = eolian_mono_gen_bin
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue