cec: only link cec-client against ld. use AC_SEARCH_LIBS instead of AC_CHECK_LIB
[deb_libcec.git] / src / testclient / Makefile.am
index a389f1ad975ea79396dac9dd4e595611845f6de6..34af79bcd62478162de6603aae250fb770b7f232 100644 (file)
@@ -2,4 +2,5 @@ bin_PROGRAMS = cec-client
 cec_client_SOURCES = main.cpp \
                      ../lib/platform/threads.cpp
 
-cec_client_CPPFLAGS = -I../../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