Add "rt" to libraries
authorMike Looijmans <milo-software@users.sourceforge.net>
Sun, 3 Feb 2013 12:26:00 +0000 (13:26 +0100)
committerMike Looijmans <milo-software@users.sourceforge.net>
Sun, 3 Feb 2013 12:26:00 +0000 (13:26 +0100)
Newer compilers require -lrt for aio_write and related functions.

main/Makefile.am

index c4223e9..03121cc 100644 (file)
@@ -51,7 +51,7 @@ enigma2_LDADD = \
        @PTHREAD_LIBS@ \
        @PYTHON_LDFLAGS@ \
        @LIBDDVD_LIBS@ \
-       -ltuxtxt -ltuxtxt32bpp -lcrypt
+       -ltuxtxt -ltuxtxt32bpp -lcrypt -lrt
 
 enigma2_LDFLAGS = -Wl,--export-dynamic