aboutsummaryrefslogtreecommitdiff
path: root/ports/ffmpeg/0001-create-lib-libraries.patch
diff options
context:
space:
mode:
authorStefano Sinigardi <stesinigardi@hotmail.com>2019-09-23 22:46:16 +0200
committerCurtis J Bezault <curtbezault@gmail.com>2019-09-23 13:46:16 -0700
commit839cdff896114d423bfdb0abc8ffa6bb6d839337 (patch)
tree6d0ff2a13ed2eeaa44b0610ee7bfa33a296de97c /ports/ffmpeg/0001-create-lib-libraries.patch
parentc7542de3f31defef6344e9acb05adf7d39f6d4a8 (diff)
downloadvcpkg-839cdff896114d423bfdb0abc8ffa6bb6d839337.tar.gz
vcpkg-839cdff896114d423bfdb0abc8ffa6bb6d839337.zip
[ffmpeg] update to 4.2 (#8021)
* [ffmpeg] update to 4.2 * [ffmpeg] add missing dependencies under linux
Diffstat (limited to 'ports/ffmpeg/0001-create-lib-libraries.patch')
-rw-r--r--ports/ffmpeg/0001-create-lib-libraries.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/ports/ffmpeg/0001-create-lib-libraries.patch b/ports/ffmpeg/0001-create-lib-libraries.patch
new file mode 100644
index 000000000..493e24c1b
--- /dev/null
+++ b/ports/ffmpeg/0001-create-lib-libraries.patch
@@ -0,0 +1,25 @@
+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)'