Add support for OpenSSL 3

This commit is contained in:
2022-06-05 15:29:20 +02:00
parent 3d4e6e3918
commit 4f288f4e24
4 changed files with 54 additions and 1 deletions

View File

@@ -3,6 +3,9 @@ TARGETS=acsmdownloader adept_activate adept_remove adept_loan_mgt
CXXFLAGS=-Wall -fPIC -I$(ROOT)/include -I$(ROOT)/lib/pugixml/src/
# OpenSSL 1.1.0 compat
CXXFLAGS += -DOPENSSL_API_COMPAT=0x10100000L
STATIC_DEP=
LDFLAGS=-L$(ROOT) -lcrypto -lzip -lz -lcurl