[vlc-commits] Contribs: fix win32 static linkage

Jean-Baptiste Kempf git at videolan.org
Fri Jul 1 23:03:53 CEST 2016


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Jul  1 23:03:18 2016 +0200| [dbc5056eed5b69c181869f12ec97260b1a3a58aa] | committer: Jean-Baptiste Kempf

Contribs: fix win32 static linkage

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

 contrib/src/gnutls/gnutls-win32.patch |   11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/contrib/src/gnutls/gnutls-win32.patch b/contrib/src/gnutls/gnutls-win32.patch
index 5347d35..9138dc7 100644
--- a/contrib/src/gnutls/gnutls-win32.patch
+++ b/contrib/src/gnutls/gnutls-win32.patch
@@ -8,3 +8,14 @@
 +Libs.private: @LIBZ@ @LIBINTL@ @LIBSOCKET@ -lcrypt32 @LIBPTHREAD@ @LIBICONV@ @P11_KIT_LIBS@ @LIB_SELECT@ @TSS_LIBS@ @GMP_LIBS@
  @GNUTLS_REQUIRES_PRIVATE@
  Cflags: -I${includedir}
+--- gnutls.old/lib/includes/gnutls/gnutls.h.in	2016-07-01 22:44:49.319398504 +0200
++++ gnutls/lib/includes/gnutls/gnutls.h.in	2016-07-01 22:48:00.515407625 +0200
+@@ -68,7 +68,7 @@
+ #define GNUTLS_CIPHER_ARCFOUR GNUTLS_CIPHER_ARCFOUR_128
+ 
+ #if !defined(GNUTLS_INTERNAL_BUILD) && defined(_WIN32)
+-# define _SYM_EXPORT __declspec(dllimport)
++# define _SYM_EXPORT
+ #else
+ # define _SYM_EXPORT
+ #endif



More information about the vlc-commits mailing list