vcpkg/ports/ffmpeg/0001-create-lib-libraries.patch
Julian Xhokaxhiu b58df11608
[ffmpeg] Bump to 6.1 (#35042)
* [ffmpeg] Bump to 6.1

* [ffnvcodec] Bump to 11.1.5.3

* vcpkg x-add-version --all

* [avisynthplus] Bump to 3.7.3

* vcpkg x-add-version --all

* [avisynthplus] Remove no more required patch

* vcpkg x-add-version --all

* Apply suggestions from code review

Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>

* vcpkg x-add-version --all

---------

Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>
2023-11-14 12:54:21 -08:00

28 lines
956 B
Diff

diff --git a/configure b/configure
index 1f0b9497cb..3243e23021 100644
--- a/configure
+++ b/configure
@@ -5697,17 +5697,19 @@ 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 small && test_cmd $windres --version && enable gnu_windres
enabled x86_32 && check_ldflags -LARGEADDRESSAWARE
add_cppflags -DWIN32_LEAN_AND_MEAN
shlibdir_default="$bindir_default"
+ LIBPREF=""
+ LIBSUF=".lib"
SLIBPREF=""
SLIBSUF=".dll"
SLIBNAME_WITH_VERSION='$(SLIBPREF)$(FULLNAME)-$(LIBVERSION)$(SLIBSUF)'