Evas: fix static linking

SVN revision: 69617
This commit is contained in:
Vincent Torri 2012-03-25 17:40:44 +00:00
parent 15fb4326e2
commit 6d8b7c00cb
2 changed files with 9 additions and 2 deletions

View File

@ -605,9 +605,16 @@ AC_ARG_ENABLE([evas-cserve],
AC_MSG_CHECKING(whether to build shared cache server and support)
AC_MSG_RESULT(${want_evas_cserve})
shm_open_libs=""
if test "x${want_evas_cserve}" = "xyes" ; then
EFL_CHECK_SHM_OPEN([want_evas_cserve="yes"], [want_evas_cserve="no"])
EFL_CHECK_SHM_OPEN(
[
want_evas_cserve="yes"
shm_open_libs=${EFL_SHM_OPEN_LIBS}
],
[want_evas_cserve="no"])
fi
AC_SUBST([shm_open_libs])
if test "x${want_evas_cserve}" = "xyes" ; then
AC_DEFINE(EVAS_CSERVE, 1, [Shared cache server.])

View File

@ -7,6 +7,6 @@ Name: evas
Description: Evas canvas display library
@pkgconfig_requires_private@: @requirement_evas@
Version: @VERSION@
Libs: -L${libdir} -levas @EINA_LIBS@
Libs: -L${libdir} -levas @EINA_LIBS@ @shm_open_libs@
Libs.private: @EFL_FNMATCH_LIBS@ @pthread_libs@
Cflags: -I${includedir}/evas-@VMAJ@ @EINA_CFLAGS@