cec: only link cec-client against ld. use AC_SEARCH_LIBS instead of AC_CHECK_LIB
[deb_libcec.git] / src / testclient / Makefile.am
index aa23d92b5222bfb946ad99905d0b007d2c35a683..34af79bcd62478162de6603aae250fb770b7f232 100644 (file)
@@ -2,4 +2,5 @@ bin_PROGRAMS = cec-client
 cec_client_SOURCES = main.cpp \
                      ../lib/platform/threads.cpp
 
-cec_client_CPPFLAGS = -I@abs_top_srcdir@/include
\ No newline at end of file
+cec_client_CPPFLAGS = -I@abs_top_srcdir@/include
+cec_client_LDFLAGS = @LIBS_DL@
\ No newline at end of file