View Ticket
EuroTcl/OpenACS 11 - 12 JULY 2024, VIENNA
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.