mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 03:03:05 +08:00
fix static build of ffmpeg-executables
build ffplay.exe etc. failed because we tried to link ".a"-libraries
This commit is contained in:
parent
407fb7edb6
commit
c3959c44b9
@ -12,8 +12,20 @@ diff --git a/configure b/configure
|
|||||||
index ba38a73906..0a3f308323 100755
|
index ba38a73906..0a3f308323 100755
|
||||||
--- a/configure
|
--- a/configure
|
||||||
+++ b/configure
|
+++ b/configure
|
||||||
@@ -5031,6 +5031,8 @@ case $target_os in
|
@@ -4890,15 +4890,17 @@
|
||||||
fi
|
;;
|
||||||
|
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
|
enabled x86_32 && check_ldflags -LARGEADDRESSAWARE
|
||||||
shlibdir_default="$bindir_default"
|
shlibdir_default="$bindir_default"
|
||||||
+ LIBPREF=""
|
+ LIBPREF=""
|
||||||
|
Loading…
Reference in New Issue
Block a user