build: fix crosscompilation to be actually working.

This commit is contained in:
Cedric Bail 2013-12-08 13:32:14 +09:00
parent 6be10eb078
commit 160c470d97
2 changed files with 9 additions and 3 deletions

View File

@ -77,7 +77,7 @@ test_prefs.edj: Makefile test_prefs.edc
$(top_builddir)/data/objects/test_prefs.edj
test_prefs.epb: Makefile test_prefs.epc
$(ELM_PREFS_CC) $(ELM_PREFS_FLAGS) \
$(AM_V_EPB)$(ELM_PREFS_CC) $(ELM_PREFS_FLAGS) \
$(top_srcdir)/data/objects/test_prefs.epc \
$(top_builddir)/data/objects/test_prefs.epb

View File

@ -59,8 +59,14 @@ dnl configure option
AC_ARG_WITH([$2],
[AC_HELP_STRING([--with-$2=PATH], [specify a specific path to ]DOWN[ @<:@default=$3@:>@])],
[_efl_with_binary=${withval}],
[_efl_with_binary=$(pkg-config --variable=prefix $1)/bin/$3])
[
_efl_with_binary=${withval}
_efl_binary_define="yes"
],
[
_efl_with_binary=$(pkg-config --variable=prefix $1)/bin/$3
_efl_binary_define="no"
])
DOWN=${_efl_with_binary}
AC_MSG_NOTICE(DOWN[ set to ${_efl_with_binary}])