forked from enlightenment/efl
efl/evas_cserve2: don't use libexec
many distros deprecate libexec and it's better to keep our stuff together inside /usr/lib/evas. cserve2 binaries now lives in /usr/lib/evas/cserve2/bin SVN revision: 81897
This commit is contained in:
parent
b6473769d1
commit
16a9372e35
|
@ -1432,7 +1432,8 @@ endif
|
||||||
|
|
||||||
if EVAS_CSERVE2
|
if EVAS_CSERVE2
|
||||||
|
|
||||||
libexec_PROGRAMS = \
|
evascserve2internal_bindir=$(libdir)/evas/cserve2/bin
|
||||||
|
evascserve2internal_bin_PROGRAMS = \
|
||||||
bin/evas/evas_cserve2 \
|
bin/evas/evas_cserve2 \
|
||||||
bin/evas/evas_cserve2_slave \
|
bin/evas/evas_cserve2_slave \
|
||||||
bin/evas/dummy_slave
|
bin/evas/dummy_slave
|
||||||
|
@ -1465,7 +1466,7 @@ bin_evas_evas_cserve2_CPPFLAGS = \
|
||||||
-I$(top_srcdir)/src/lib/evas/include \
|
-I$(top_srcdir)/src/lib/evas/include \
|
||||||
-I$(top_srcdir)/src/lib/evas/cserve2 \
|
-I$(top_srcdir)/src/lib/evas/cserve2 \
|
||||||
-I$(top_srcdir)/src/lib/eet \
|
-I$(top_srcdir)/src/lib/eet \
|
||||||
-DPACKAGE_LIBEXEC_DIR=\"$(libexecdir)\" \
|
-DPACKAGE_LIB_DIR=\"$(libdir)\" \
|
||||||
@EVAS_CFLAGS@ \
|
@EVAS_CFLAGS@ \
|
||||||
@EFL_CFLAGS@
|
@EFL_CFLAGS@
|
||||||
|
|
||||||
|
|
|
@ -337,7 +337,7 @@ _slave_proc_path_get(const char *name)
|
||||||
if (!access(buf, X_OK))
|
if (!access(buf, X_OK))
|
||||||
return eina_stringshare_add(buf);
|
return eina_stringshare_add(buf);
|
||||||
|
|
||||||
snprintf(buf, sizeof(buf), PACKAGE_LIBEXEC_DIR"/%s", name);
|
snprintf(buf, sizeof(buf), PACKAGE_LIB_DIR"/evas/cserve2/bin/%s", name);
|
||||||
if (!access(buf, X_OK))
|
if (!access(buf, X_OK))
|
||||||
return eina_stringshare_add(buf);
|
return eina_stringshare_add(buf);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue