Fix make check too
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Tue, 10 Jun 2008 19:37:17 +0000 (22:37 +0300)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Tue, 10 Jun 2008 19:37:17 +0000 (22:37 +0300)
libs/srtp/Makefile.am

index 4c0fd5d..cef9824 100644 (file)
@@ -26,13 +26,16 @@ TESTS = $(check_PROGRAMS)
 
 libvlc_srtp_la_SOURCES = srtp.c
 libvlc_srtp_la_LIBADD = @LIBGCRYPT_LIBS@
-if !HAVE_WIN32
-libvlc_srtp_la_LIBADD += -lpthread
-endif
 
 srtp_SOURCES = recv.c
 srtp_LDADD = libvlc_srtp.la
 test_recv_LDADD = libvlc_srtp.la
+test_aes_LDADD = @LIBGCRYPT_LIBS@
+
+if !HAVE_WIN32
+libvlc_srtp_la_LIBADD += -lpthread
+test_aes_LDADD += -lpthread
+endif
 
 lcov-run:
        rm -Rf *.gcda lcov