aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/ffmpeg/0001-create-lib-libraries.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/ffmpeg/0001-create-lib-libraries.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/ffmpeg/0001-create-lib-libraries.patch')
-rw-r--r--vcpkg/ports/ffmpeg/0001-create-lib-libraries.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/vcpkg/ports/ffmpeg/0001-create-lib-libraries.patch b/vcpkg/ports/ffmpeg/0001-create-lib-libraries.patch
new file mode 100644
index 0000000..ced7ba8
--- /dev/null
+++ b/vcpkg/ports/ffmpeg/0001-create-lib-libraries.patch
@@ -0,0 +1,27 @@
+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)'