forked from enlightenment/efl
build: fix crosscompilation to be actually working.
This commit is contained in:
parent
6be10eb078
commit
160c470d97
|
@ -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
|
||||
|
||||
|
|
|
@ -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}])
|
||||
|
|
Loading…
Reference in New Issue