Check m4/efl_check_funcs.m4, we have _EFL_CHECK_FUNC_SHM_OPEN there. Can't we use it?
On Wed, Jun 26, 2013 at 9:24 AM, Carsten Haitzler <[email protected]> wrote: > On Wed, 26 Jun 2013 03:10:48 -0700 Daniel Willmann - Enlightenment Git > <[email protected]> said: > > i am not sure this is portable. other platforms may not have a librt... it > probably needs an explicit check? > >> asdfuser pushed a commit to branch master. >> >> commit 6445fea318f29fd6b1de0bc6fbe1b66bcc5673ba >> Author: Daniel Willmann <[email protected]> >> Date: Wed Jun 26 10:57:24 2013 +0100 >> >> configure: Link eina to librt. This is needed for shm_* calls >> >> Recent clang breaks with linking errors: >> lib/eina/.libs/libeina.so: undefined reference to `shm_open' >> so fix. >> >> Signed-off-by: Daniel Willmann <[email protected]> >> --- >> configure.ac | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/configure.ac b/configure.ac >> index 80d8ffd..1d61972 100644 >> --- a/configure.ac >> +++ b/configure.ac >> @@ -709,6 +709,7 @@ AC_DEFINE_IF([EINA_STRINGSHARE_USAGE], >> EFL_PLATFORM_DEPEND([EINA], [all]) >> >> EFL_ADD_LIBS([EINA], [-lm]) >> +EFL_ADD_LIBS([EINA], [-lrt]) >> >> ## Options >> >> >> -- >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by Windows: >> >> Build for Windows Store. >> >> http://p.sf.net/sfu/windows-dev2dev >> > > > -- > ------------- Codito, ergo sum - "I code, therefore I am" -------------- > The Rasterman (Carsten Haitzler) [email protected] > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > enlightenment-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Rafael Antognolli ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
