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