| Ticket UUID: | c981aa093ad39f25451564274ec90d8c95f0fec2 | |||
| Title: | PKG_STUB_LIB_FILE wrong for Windows | |||
| Type: | Bug | Version: | 9.0 | |
| Submitter: | anonymous | Created on: | 2023-09-27 13:12:27 | |
| Subsystem: | 53. Configure and Build Tools | Assigned To: | jan.nijtmans | |
| Priority: | 5 Medium | Severity: | Important | |
| Status: | Closed | Last Modified: | 2023-09-27 14:18:29 | |
| Resolution: | Fixed | Closed By: | jan.nijtmans | |
| Closed on: | 2023-09-27 14:18:29 | |||
| Description: |
Variable PKG_STUB_LIB_FILE is set wrong for Windows.
Paul
>fossil diff tcl.m4
Index: tcl.m4
==================================================================
--- tcl.m4
+++ tcl.m4
@@ -3224,11 +3224,11 @@
eval eval "PKG_LIB_FILE8=${PACKAGE_LIB_PREFIX8}${PACKAGE_NAME}${UNSHARED_LIB_SUFFIX}"
eval eval "PKG_LIB_FILE9=${PACKAGE_LIB_PREFIX9}${PACKAGE_NAME}${UNSHARED_LIB_SUFFIX}"
eval eval "PKG_LIB_FILE=${PACKAGE_LIB_PREFIX}${PACKAGE_NAME}${UNSHARED_LIB_SUFFIX}"
fi
# Some packages build their own stubs libraries
- eval eval "PKG_STUB_LIB_FILE=${PACKAGE_LIB_PREFIX}${PACKAGE_NAME}stub${UNSHARED_LIB_SUFFIX}"
+ eval eval "PKG_STUB_LIB_FILE=${PACKAGE_LIB_PREFIX8}${PACKAGE_NAME}stub${UNSHARED_LIB_SUFFIX}"
if test "$GCC" = "yes"; then
PKG_STUB_LIB_FILE=lib${PKG_STUB_LIB_FILE}
fi
# These aren't needed on Windows (either MSVC or gcc)
| |||
| User Comments: |
jan.nijtmans added on 2023-09-27 14:18:29:
Well spotted! Thanks! I tried it with tdbc, it produced "libtcl9tdbcstub1.1.5.a" on windows, which is - indeed - not correct. Fixed [e97a1b2d0d|here] | |||
Home
Timeline
Branches
Tags
Tickets
Wiki