configure: Link eina to librt. This is needed for shm_* calls
authorDaniel Willmann <d.willmann@samsung.com>
Wed, 26 Jun 2013 09:57:24 +0000 (10:57 +0100)
committerDaniel Willmann <d.willmann@samsung.com>
Wed, 26 Jun 2013 10:10:57 +0000 (11:10 +0100)
Recent clang breaks with linking errors:
lib/eina/.libs/libeina.so: undefined reference to `shm_open'
so fix.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
configure.ac

index 80d8ffd..1d61972 100644 (file)
@@ -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