From c3959c44b997e0795fa472b8fd6bef469198994b Mon Sep 17 00:00:00 2001 From: Unknown Date: Mon, 3 Sep 2018 00:38:59 +0200 Subject: [PATCH] fix static build of ffmpeg-executables build ffplay.exe etc. failed because we tried to link ".a"-libraries --- ports/ffmpeg/create-lib-libraries.patch | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/ports/ffmpeg/create-lib-libraries.patch b/ports/ffmpeg/create-lib-libraries.patch index dcc767cd2..ccad5ff8c 100644 --- a/ports/ffmpeg/create-lib-libraries.patch +++ b/ports/ffmpeg/create-lib-libraries.patch @@ -12,8 +12,20 @@ diff --git a/configure b/configure index ba38a73906..0a3f308323 100755 --- a/configure +++ b/configure -@@ -5031,6 +5031,8 @@ case $target_os in - fi +@@ -4890,15 +4890,17 @@ + ;; + 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=""