aboutsummaryrefslogtreecommitdiff
path: root/tools/buildsteps/windows/patches/0003-ffmpeg-static.patch
diff options
context:
space:
mode:
authorRechi <Rechi@users.noreply.github.com>2018-11-02 23:03:15 +0100
committerRechi <Rechi@users.noreply.github.com>2018-11-02 23:03:15 +0100
commitf712d24821a26ecc522beae58b70cba93103cbcb (patch)
treec7bd67d8d8878748f2505099185257dc92359769 /tools/buildsteps/windows/patches/0003-ffmpeg-static.patch
parented5af9b8547e29e498949547798b06a2460036e3 (diff)
[windows] build FFmpeg static
Diffstat (limited to 'tools/buildsteps/windows/patches/0003-ffmpeg-static.patch')
-rw-r--r--tools/buildsteps/windows/patches/0003-ffmpeg-static.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/buildsteps/windows/patches/0003-ffmpeg-static.patch b/tools/buildsteps/windows/patches/0003-ffmpeg-static.patch
new file mode 100644
index 0000000000..48938d43f1
--- /dev/null
+++ b/tools/buildsteps/windows/patches/0003-ffmpeg-static.patch
@@ -0,0 +1,20 @@
+--- a/configure
++++ b/configure
+@@ -5109,6 +5109,8 @@
+ enabled shared && ! enabled small && test_cmd $windres --version && enable gnu_windres
+ enabled x86_32 && check_ldflags -Wl,--large-address-aware
+ shlibdir_default="$bindir_default"
++ LIBPREF=""
++ LIBSUF=".lib"
+ SLIBPREF=""
+ SLIBSUF=".dll"
+ SLIBNAME_WITH_VERSION='$(SLIBPREF)$(FULLNAME)-$(LIBVERSION)$(SLIBSUF)'
+@@ -5158,6 +5160,8 @@
+ fi
+ enabled x86_32 && check_ldflags -LARGEADDRESSAWARE
+ shlibdir_default="$bindir_default"
++ LIBPREF=""
++ LIBSUF=".lib"
+ SLIBPREF=""
+ SLIBSUF=".dll"
+ SLIBNAME_WITH_VERSION='$(SLIBPREF)$(FULLNAME)-$(LIBVERSION)$(SLIBSUF)'