vcpkg/ports/ffmpeg/create-lib-libraries.patch
Anonymous Maarten 317b2ea082 [ffmpeg] Allow static builds of ffmpeg (#2783)
ffmpeg creates static .a libraries, so change the suffix to .lib
2018-02-13 16:04:12 -08:00

27 lines
764 B
Diff

From 5f7c72d6c93fb1f4a730e2315fff6e5eb9bb95c8 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <anonymous.maarten@gmail.com>
Date: Wed, 27 Sep 2017 15:50:40 +0200
Subject: [PATCH] configure: create .lib static libraries using MSVC compiler
(instead of .a)
---
configure | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configure b/configure
index ba38a73906..0a3f308323 100755
--- a/configure
+++ b/configure
@@ -5031,6 +5031,8 @@ case $target_os in
fi
enabled x86_32 && check_ldflags -LARGEADDRESSAWARE
shlibdir_default="$bindir_default"
+ LIBPREF=""
+ LIBSUF=".lib"
SLIBPREF=""
SLIBSUF=".dll"
SLIBNAME_WITH_VERSION='$(SLIBPREF)$(FULLNAME)-$(LIBVERSION)$(SLIBSUF)'
--
2.14.1.windows.1