diff options
| author | Anonymous Maarten <madebr@users.noreply.github.com> | 2018-02-14 01:04:12 +0100 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-02-13 16:04:12 -0800 |
| commit | 317b2ea082d1b48c9f107a1dc1ba882d278b2f84 (patch) | |
| tree | 9dfe7d8d3c35795c836449821ec0f9222c40cf48 /ports/ffmpeg/create-lib-libraries.patch | |
| parent | 4fd4c03dd85bec35d39a9da4af1a00cf975801ef (diff) | |
| download | vcpkg-317b2ea082d1b48c9f107a1dc1ba882d278b2f84.tar.gz vcpkg-317b2ea082d1b48c9f107a1dc1ba882d278b2f84.zip | |
[ffmpeg] Allow static builds of ffmpeg (#2783)
ffmpeg creates static .a libraries, so change the suffix to .lib
Diffstat (limited to 'ports/ffmpeg/create-lib-libraries.patch')
| -rw-r--r-- | ports/ffmpeg/create-lib-libraries.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/ports/ffmpeg/create-lib-libraries.patch b/ports/ffmpeg/create-lib-libraries.patch new file mode 100644 index 000000000..dcc767cd2 --- /dev/null +++ b/ports/ffmpeg/create-lib-libraries.patch @@ -0,0 +1,26 @@ +From 5f7c72d6c93fb1f4a730e2315fff6e5eb9bb95c8 Mon Sep 17 00:00:00 2001 +From: Anonymous Maarten <anonymous.maarten@gmail.com> +Date: Wed, 27 Sep 2017 15:50:40 +0200 +Subject: [PATCH] configure: create .lib static libraries using MSVC compiler + (instead of .a) + +--- + configure | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/configure b/configure +index ba38a73906..0a3f308323 100755 +--- a/configure ++++ b/configure +@@ -5031,6 +5031,8 @@ case $target_os in + fi + enabled x86_32 && check_ldflags -LARGEADDRESSAWARE + shlibdir_default="$bindir_default" ++ LIBPREF="" ++ LIBSUF=".lib" + SLIBPREF="" + SLIBSUF=".dll" + SLIBNAME_WITH_VERSION='$(SLIBPREF)$(FULLNAME)-$(LIBVERSION)$(SLIBSUF)' +-- +2.14.1.windows.1 + |
