[vlc-commits] decklink: fix linking with recent sdk

Rafaël Carré git at videolan.org
Mon Oct 6 11:58:55 CEST 2014


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Mon Oct  6 11:58:40 2014 +0200| [82c395e4be5133f7bf0bae2572403144f1684d7e] | committer: Rafaël Carré

decklink: fix linking with recent sdk

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

 modules/access/Makefile.am       |    2 +-
 modules/video_output/Makefile.am |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/access/Makefile.am b/modules/access/Makefile.am
index 6147c54..0f5d499 100644
--- a/modules/access/Makefile.am
+++ b/modules/access/Makefile.am
@@ -143,7 +143,7 @@ EXTRA_LTLIBRARIES += liblinsys_hdsdi_plugin.la liblinsys_sdi_plugin.la
 
 libdecklink_plugin_la_SOURCES = access/decklink.cpp access/sdi.c access/sdi.h
 libdecklink_plugin_la_CXXFLAGS = $(AM_CFLAGS) $(CPPFLAGS_decklink)
-libdecklink_plugin_la_LIBADD = $(LIBS_decklink) -ldl
+libdecklink_plugin_la_LIBADD = $(LIBS_decklink) $(LIBDL) -lpthread
 if HAVE_DECKLINK
 access_LTLIBRARIES += libdecklink_plugin.la
 endif
diff --git a/modules/video_output/Makefile.am b/modules/video_output/Makefile.am
index 5d7b483..51ba97d 100644
--- a/modules/video_output/Makefile.am
+++ b/modules/video_output/Makefile.am
@@ -4,7 +4,7 @@ vout_LTLIBRARIES =
 if HAVE_DECKLINK
 libdecklinkoutput_plugin_la_SOURCES = video_output/decklink.cpp
 libdecklinkoutput_plugin_la_CXXFLAGS = $(AM_CFLAGS) $(CPPFLAGS_decklinkoutput)
-libdecklinkoutput_plugin_la_LIBADD = $(LIBS_decklink) $(LIBDL)
+libdecklinkoutput_plugin_la_LIBADD = $(LIBS_decklink) $(LIBDL) -lpthread
 vout_LTLIBRARIES += libdecklinkoutput_plugin.la
 endif
 



More information about the vlc-commits mailing list