View Ticket
2024-05-28
00:10 Ticket [67c13bf99e] --enable-static-ssl configure option has no effect status still Open with 3 other changes artifact: 139295eee8 user: bohagan
2024-05-11
12:56 Ticket [67c13bf99e]: 3 changes artifact: a21b411f6b user: anonymous
12:56 Ticket [67c13bf99e]: 5 changes artifact: 288513c934 user: anonymous
08:38 New ticket [67c13bf99e]. artifact: 53ab8b724c user: anonymous

Ticket Hash: 67c13bf99e651b2f709b7e92a0d5d549a3953a4f
Title: --enable-static-ssl configure option has no effect
Status: Open Type: Build Problem
Severity: Minor Priority: Immediate
Subsystem: Resolution: Open
Last Modified: 2024-05-28 00:10:37
Version Found In: 1.8
User Comments:
anonymous added on 2024-05-11 08:38:14:

Using mingw on Windows, --enable-static-ssl seems to have no effect (regression from 1.7). The configure log does show

configure:9166: checking for static linking of openSSL libraries
configure:9168: result: yes

but the generated Makefile does not enable static linking.


anonymous added on 2024-05-11 12:56:05:

I used the following configure as a work around:

../../configure --enable-64bit --enable-static-ssl --with-tcl=d:/tcl/90/mingw64/lib --with-tclinclude=d:/tcl/90/mingw64/include --exec-prefix=d:/tcl/90/mingw64/ TCLTLS_SSL_LIBS="-Wl,-Bstatic -lssl -lcrypto -Wl,-Bdynamic ws2_32.lib"

bohagan added on 2024-05-28 00:10:37:
This may be fixed in the tls-1.8 and crypto branches by [1edeeb9bb0439547]. I tested what I could, but I don't have a full MinGW install to test with, only a basic MSYS2 config.