git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@61358
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
if test "x${have_shmopen}" = "xyes"; then
AC_DEFINE(HAVE_SHMOPEN, 1, [Does your system provide shm_open])
- EINA_LIBS="${EINA_LIBS} -lrt"
+ rt_libs="-lrt"
fi
+AC_SUBST([rt_libs])
+
### Modules
if test "x${have_default_mempool}" = "xyes" ; then
@pkgconfig_requires_private@: @requirement_eina@
Version: @VERSION@
Libs: -L${libdir} -leina
-Libs.private: @EFL_FNMATCH_LIBS@ @EFL_PTHREAD_LIBS@ @iconv_libs@ -ldl
+Libs.private: @EFL_FNMATCH_LIBS@ @EFL_PTHREAD_LIBS@ @rt_libs@ @iconv_libs@ -ldl -lm
Cflags: -I${includedir}/eina-@VMAJ@ -I${includedir}/eina-@VMAJ@/eina
libeina_la_SOURCES = $(base_sources)
endif
-libeina_la_LIBADD = @EINA_LIBS@ @dlopen_libs@
+libeina_la_LIBADD = @iconv_libs@ @rt_libs@ @EINA_LIBS@ @dlopen_libs@
libeina_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ @release_info@ @EFL_PTHREAD_LIBS@
libeina_la_CFLAGS = @EINA_CFLAGS@ @EFL_PTHREAD_CFLAGS@