[vlc-commits] contrib: srt: fix dependency handling

Steve Lhomme git at videolan.org
Tue May 15 18:34:51 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Sun May 13 11:23:50 2018 +0200| [e94213427ef84e278b236e803b100a94df2674fe] | committer: Steve Lhomme

contrib: srt: fix dependency handling

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

 contrib/src/srt/rules.mak | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/contrib/src/srt/rules.mak b/contrib/src/srt/rules.mak
index bed9fc524d..4dfc9f9989 100644
--- a/contrib/src/srt/rules.mak
+++ b/contrib/src/srt/rules.mak
@@ -15,6 +15,7 @@ ifdef HAVE_DARWIN_OS
 SRT_DARWIN=CFLAGS="$(CFLAGS) -Wno-error=partial-availability" CXXFLAGS="$(CXXFLAGS) -Wno-error=partial-availability"
 endif
 
+DEPS_srt = gnutls $(DEPS_gnutls)
 ifdef HAVE_WIN32
 DEPS_srt += pthreads $(DEPS_pthreads)
 endif
@@ -33,8 +34,6 @@ srt: srt-$(SRT_VERSION).tar.gz .sum-srt
 	$(call pkg_static,"scripts/haisrt.pc.in")
 	mv srt-$(SRT_VERSION) $@ && touch $@
 
-DEPS_srt = gnutls $(DEPS_gnutls)
-
 .srt: srt toolchain.cmake
 	cd $< && $(HOSTVARS_PIC) $(SRT_DARWIN) $(CMAKE) \
 		-DENABLE_SHARED=OFF -DUSE_GNUTLS=ON -DENABLE_CXX11=OFF



More information about the vlc-commits mailing list