vcpkg/ports/ffmpeg/create-lib-libraries.patch

27 lines
764 B
Diff
Raw Normal View History

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