summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2018-01-02 12:00:31 -0200
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2018-01-02 12:00:31 -0200
commit3e1704f210551fbae7cee9a0d2b3140d934887fd (patch)
tree878668d0daae6640ea7b04ef0606efa57dcf44e9
parentb8f4dc296ff1e95e6c2a88b7071e3ed8e2dffd86 (diff)
downloadefl-3e1704f210551fbae7cee9a0d2b3140d934887fd.tar.gz
efl-js: Fix dependency generation in JavaScript binding compilation
Use C++ as dependency in automake so concurrent builds will not fail to compile
-rw-r--r--src/Makefile_Eolian_Js.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Makefile_Eolian_Js.am b/src/Makefile_Eolian_Js.am
index b0e64de6da..834ea8fd01 100644
--- a/src/Makefile_Eolian_Js.am
+++ b/src/Makefile_Eolian_Js.am
@@ -21,6 +21,9 @@ bin_eolian_js_eolian_js_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
bin_eolian_js_eolian_js_LDADD = @USE_EO_LIBS@ @USE_EOLIAN_LIBS@
bin_eolian_js_eolian_js_DEPENDENCIES = @USE_EO_INTERNAL_LIBS@ @USE_EOLIAN_INTERNAL_LIBS@
+# generate C++ bindings before compiling C++ files for JS binding
+bin/eolian_js/bin_eolian_js_eolian_js-main.$(OBJEXT): $(efl_eolian_cxx_hh) $(efl_eolian_cxx_impl_hh)
+
include Makefile_Eolian_Js_Helper.am
### Unit tests