forked from enlightenment/efl
parent
3f92c6056c
commit
7f35e847f5
|
@ -30,6 +30,7 @@ void *alloca (size_t);
|
|||
#include <math.h>
|
||||
|
||||
#include "edje_cc.h"
|
||||
#include "edje_prefix.h"
|
||||
#include <Ecore.h>
|
||||
#include <Ecore_File.h>
|
||||
|
||||
|
@ -638,7 +639,7 @@ get_verbatim_line2(void)
|
|||
void
|
||||
compile(void)
|
||||
{
|
||||
char buf[4096];
|
||||
char buf[4096], buf2[4096];
|
||||
char inc[4096];
|
||||
static char tmpn[4096];
|
||||
int fd;
|
||||
|
@ -693,10 +694,11 @@ compile(void)
|
|||
* Run the input through the C pre-processor.
|
||||
*/
|
||||
ret = -1;
|
||||
if (ecore_file_exists(EPP_DIR"/epp"))
|
||||
snprintf(buf2, sizeof(buf2), "%s/edje/utils/epp", e_prefix_lib_get());
|
||||
if (ecore_file_exists(buf2))
|
||||
{
|
||||
snprintf(buf, sizeof(buf), EPP_DIR"/epp %s -I%s %s -o %s",
|
||||
file_in, inc, def, tmpn);
|
||||
snprintf(buf, sizeof(buf), "%s %s -I%s %s -o %s",
|
||||
buf2, file_in, inc, def, tmpn);
|
||||
ret = system(buf);
|
||||
}
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue