From: Lars Op den Kamp Date: Sun, 26 Feb 2012 23:44:10 +0000 (+0100) Subject: cec: link to rt. fixes compilation after c4609291c334e2f5f5b87b8dc37e68a958bfb378 X-Git-Tag: upstream/2.2.0~1^2~33^2~26 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=92267aa6b08c8950fc9fc784a0776844203c230d;p=deb_libcec.git cec: link to rt. fixes compilation after c4609291c334e2f5f5b87b8dc37e68a958bfb378 --- diff --git a/src/cec-config/Makefile.am b/src/cec-config/Makefile.am index a6c6c39..d7e869b 100644 --- a/src/cec-config/Makefile.am +++ b/src/cec-config/Makefile.am @@ -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 diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am index 083775f..f6ab05e 100644 --- a/src/lib/Makefile.am +++ b/src/lib/Makefile.am @@ -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 diff --git a/src/testclient/Makefile.am b/src/testclient/Makefile.am index 726cf62..8c7862e 100644 --- a/src/testclient/Makefile.am +++ b/src/testclient/Makefile.am @@ -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