2018-02-14 01:04:12 +01:00
|
|
|
diff --git a/configure b/configure
|
2023-11-14 21:54:21 +01:00
|
|
|
index 1f0b9497cb..3243e23021 100644
|
2018-02-14 01:04:12 +01:00
|
|
|
--- a/configure
|
|
|
|
+++ b/configure
|
2023-11-14 21:54:21 +01:00
|
|
|
@@ -5697,17 +5697,19 @@ case $target_os in
|
2018-09-03 00:38:59 +02:00
|
|
|
;;
|
|
|
|
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
|
2023-09-27 07:59:05 +10:00
|
|
|
! enabled small && test_cmd $windres --version && enable gnu_windres
|
2018-02-14 01:04:12 +01:00
|
|
|
enabled x86_32 && check_ldflags -LARGEADDRESSAWARE
|
2023-11-14 21:54:21 +01:00
|
|
|
add_cppflags -DWIN32_LEAN_AND_MEAN
|
2018-02-14 01:04:12 +01:00
|
|
|
shlibdir_default="$bindir_default"
|
|
|
|
+ LIBPREF=""
|
|
|
|
+ LIBSUF=".lib"
|
|
|
|
SLIBPREF=""
|
|
|
|
SLIBSUF=".dll"
|
2023-11-14 21:54:21 +01:00
|
|
|
SLIBNAME_WITH_VERSION='$(SLIBPREF)$(FULLNAME)-$(LIBVERSION)$(SLIBSUF)'
|