2025-10-19 22:12 UTC+0200 Aleksander Czajczynski (hb fki.pl)
* contrib/hbssl/hbssl.h
* contrib/hbssl/hbssl.hbm
* contrib/hbssl/ssl.c
! HB_OPENSSL_HAS_APPLINK was never checked,
defining HB_OPENSSL_NO_APPLINK didn't do anything
* make current OpenSSL 3.6.0 build under fresh MSYS2
shell. MSYS2 does not distribute applink.c, claiming
MingGW C runtime is safe for operation without it.
Have to define HB_OPENSSL_NO_APPLINK and additional
workaround for lacking __int64 type when including
ssl.h. If you need similar workround outside of
MSYS2 shell, setenv: HB_USER_CFLAGS=-DHB_OPENSSL_MSYS
packages needed: openssl-devel (for headers)
mingw-w64-x86_64-openssl (for libs)
mingw-w64-aarch64-openssl
* contrib/hbssl/hbssl.hbc
* using Clang or Zig compiler on Windows, build will
now reference libssl and libcrypto instead of old
ssleay32/libeay32 pair when linking.
* config/win/zig.mk
% unnecessary check
This commit is contained in:
@@ -3,8 +3,6 @@ RCFLAGS := /I. /I$(HB_HOST_INC) /C 1252
|
||||
RC_OUT := /FO$(subst x,x, )
|
||||
RES_EXT := .res
|
||||
|
||||
ifeq ($(HB_PLATFORM),win)
|
||||
IMPLIBFLAGS = -Wl,--out-implib,$(IMP_FILE)
|
||||
endif
|
||||
IMPLIBFLAGS = -Wl,--out-implib,$(IMP_FILE)
|
||||
|
||||
include $(TOP)$(ROOT)config/common/zig.mk
|
||||
|
||||
Reference in New Issue
Block a user