pineapple/externals/vcpkg/ports/ffmpeg/0001-create-lib-libraries.patch
2022-07-23 03:01:36 +02:00

25 lines
828 B
Diff
Executable file

diff --git a/configure b/configure
index 34c2adb..1c8008a 100755
--- a/configure
+++ b/configure
@@ -5352,15 +5352,17 @@ case $target_os in
;;
win32|win64)
disable symver
- if enabled shared; then
+# if enabled shared; then
# Link to the import library instead of the normal static library
# for shared libs.
LD_LIB='%.lib'
# Cannot build both shared and static libs with MSVC or icl.
- disable static
- fi
+# disable static
+# fi
enabled x86_32 && check_ldflags -LARGEADDRESSAWARE
shlibdir_default="$bindir_default"
+ LIBPREF=""
+ LIBSUF=".lib"
SLIBPREF=""
SLIBSUF=".dll"
SLIBNAME_WITH_VERSION='$(SLIBPREF)$(FULLNAME)-$(LIBVERSION)$(SLIBSUF)'