Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Rothenpieler <timo@rothenpieler.org>2022-08-07 16:26:06 +0300
committerTimo Rothenpieler <timo@rothenpieler.org>2022-08-13 15:42:36 +0300
commitb77fff47d0d60434a48b6877ed72a71ebf53858a (patch)
tree3c0030e4d4b1e47c878b5ffc64c275422f10cd68 /configure
parent6ded80af922fe244e5c9027c2059fb2caabb5cd1 (diff)
configure: always enable gnu_windres if available
Use the appropiate Makefile variable to ensure the resource file is only built into shared libraries instead.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 090ccf21a7..d5656daf7f 100755
--- a/configure
+++ b/configure
@@ -5571,7 +5571,7 @@ case $target_os in
# Cannot build both shared and static libs when using dllimport.
disable static
fi
- enabled shared && ! enabled small && test_cmd $windres --version && enable gnu_windres
+ ! enabled small && test_cmd $windres --version && enable gnu_windres
enabled x86_32 && check_ldflags -Wl,--large-address-aware
shlibdir_default="$bindir_default"
SLIBPREF=""
@@ -5650,7 +5650,7 @@ case $target_os in
SHFLAGS='-shared -Wl,--out-implib,$(SUBDIR)lib$(FULLNAME).dll.a'
enabled x86_64 && objformat="win64" || objformat="win32"
enable dos_paths
- enabled shared && ! enabled small && test_cmd $windres --version && enable gnu_windres
+ ! enabled small && test_cmd $windres --version && enable gnu_windres
add_cppflags -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600
;;
*-dos|freedos|opendos)