cec: link to rt. fixes compilation after c4609291c334e2f5f5b87b8dc37e68a958bfb378
authorLars Op den Kamp <lars@opdenkamp.eu>
Sun, 26 Feb 2012 23:44:10 +0000 (00:44 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Sun, 26 Feb 2012 23:44:24 +0000 (00:44 +0100)
src/cec-config/Makefile.am
src/lib/Makefile.am
src/testclient/Makefile.am

index a6c6c393d13af441e0b61369e86f1c9af59edb9d..d7e869b948ed806a519c79e6cff14ce1ea704648 100644 (file)
@@ -2,4 +2,4 @@ bin_PROGRAMS = cec-config
 cec_config_SOURCES = cec-config.cpp
 
 cec_config_CPPFLAGS = -I@abs_top_srcdir@/include
-cec_config_LDFLAGS = @LIBS_DL@
\ No newline at end of file
+cec_config_LDFLAGS = @LIBS_DL@ -lrt
\ No newline at end of file
index 083775f6fbc63578cf9c07d3a140834e332c51f3..f6ab05e07a7ff23b0c5bc2f3bfb0f64a6a5db9be 100644 (file)
@@ -26,5 +26,5 @@ libcec_la_SOURCES = CECProcessor.cpp \
                                        implementations/RLCommandHandler.cpp \
                     platform/posix/serialport.cpp
 
-libcec_la_LDFLAGS = @LIBS@ -version-info @VERSION@
+libcec_la_LDFLAGS = @LIBS@ -version-info @VERSION@ -lrt
 libcec_la_CPPFLAGS = -I@abs_top_srcdir@/include
index 726cf621d352212e7b03306d8d975f1f263387bb..8c7862e57da721c19f3e541764484fa4cbb93e5e 100644 (file)
@@ -2,4 +2,4 @@ bin_PROGRAMS = cec-client
 cec_client_SOURCES = main.cpp
 
 cec_client_CPPFLAGS = -I@abs_top_srcdir@/include
-cec_client_LDFLAGS = @LIBS_DL@
\ No newline at end of file
+cec_client_LDFLAGS = @LIBS_DL@ -lrt
\ No newline at end of file