[vlc-devel] commit: SRTP: try to fix dependent libraries ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Jun 7 20:21:06 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sat Jun  7 21:18:20 2008 +0300| [086a3bc3ee6dc48b4398d8e75036528b2cf926fb]

SRTP: try to fix dependent libraries

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=086a3bc3ee6dc48b4398d8e75036528b2cf926fb
---

 libs/srtp/Makefile.am |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/libs/srtp/Makefile.am b/libs/srtp/Makefile.am
index 901003c..4c0fd5d 100644
--- a/libs/srtp/Makefile.am
+++ b/libs/srtp/Makefile.am
@@ -16,11 +16,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 AM_CPPFLAGS = @LIBGCRYPT_CFLAGS@
-AM_LDFLAGS = @LIBGCRYPT_LIBS@
-
-if !HAVE_WIN32
-AM_LDFLAGS += -lpthread
-endif
 
 noinst_HEADERS = srtp.h
 
@@ -30,6 +25,11 @@ check_PROGRAMS = test-aes test-recv
 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




More information about the vlc-devel mailing list