diff options
author | Timo Rothenpieler <timo@rothenpieler.org> | 2022-08-07 16:26:06 +0300 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2022-08-13 15:42:36 +0300 |
commit | b77fff47d0d60434a48b6877ed72a71ebf53858a (patch) | |
tree | 3c0030e4d4b1e47c878b5ffc64c275422f10cd68 /configure | |
parent | 6ded80af922fe244e5c9027c2059fb2caabb5cd1 (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-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |