Correctly lookup icon paths - @fix T2044.
Set up elm with the appropriate compile option variables.
This commit is contained in:
parent
cc495a2131
commit
dd47f60ed5
|
@ -3,6 +3,9 @@ MAINTAINERCLEANFILES = Makefile.in
|
||||||
bin_PROGRAMS = elm_code_test
|
bin_PROGRAMS = elm_code_test
|
||||||
|
|
||||||
AM_CPPFLAGS = \
|
AM_CPPFLAGS = \
|
||||||
|
-DPACKAGE_BIN_DIR=\"$(bindir)\" \
|
||||||
|
-DPACKAGE_LIB_DIR=\"$(libdir)\" \
|
||||||
|
-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
|
||||||
-I$(top_srcdir)/elm_code/lib/ \
|
-I$(top_srcdir)/elm_code/lib/ \
|
||||||
-DLOCALEDIR=\"$(datadir)/locale\" \
|
-DLOCALEDIR=\"$(datadir)/locale\" \
|
||||||
-DEFL_BETA_API_SUPPORT \
|
-DEFL_BETA_API_SUPPORT \
|
||||||
|
|
|
@ -166,6 +166,10 @@ elm_main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* tell elm about our app so it can figure out where to get files */
|
||||||
|
elm_app_compile_bin_dir_set(PACKAGE_BIN_DIR);
|
||||||
|
elm_app_compile_lib_dir_set(PACKAGE_LIB_DIR);
|
||||||
|
elm_app_compile_data_dir_set(PACKAGE_DATA_DIR);
|
||||||
elm_app_info_set(elm_main, "elm_code_test", "images/elm_code.png");
|
elm_app_info_set(elm_main, "elm_code_test", "images/elm_code.png");
|
||||||
|
|
||||||
if (!(win = elm_code_test_win_setup()))
|
if (!(win = elm_code_test_win_setup()))
|
||||||
|
|
Loading…
Reference in New Issue