Compilation with static OpenSSL3
This commit is contained in:
parent
204500117d
commit
eab41809a0
|
@ -7,3 +7,12 @@ if [ ! -d lib/updfparser ] ; then
|
|||
make BUILD_STATIC=1 BUILD_SHARED=0
|
||||
popd
|
||||
fi
|
||||
|
||||
# OpenSSL legacy
|
||||
if [ ! -d lib/openssl ] ; then
|
||||
git clone --branch openssl-3.3 https://github.com/openssl/openssl.git lib/openssl
|
||||
pushd lib/openssl
|
||||
./Configure disable-apps disable-shared enable-legacy
|
||||
make -j4
|
||||
popd
|
||||
fi
|
||||
|
|
|
@ -10,6 +10,7 @@ CXXFLAGS=-Wall -fPIC -I$(ROOT)/include
|
|||
|
||||
STATIC_DEP=
|
||||
LDFLAGS += -L$(ROOT) -lcrypto -lzip -lz -lcurl -lpugixml
|
||||
LDFLAGS += -L$(ROOT) $(ROOT)/lib/openssl/libcrypto.a -lzip -lz -lcurl -lpugixml
|
||||
|
||||
ifneq ($(STATIC_UTILS),)
|
||||
STATIC_DEP = $(ROOT)/libgourou.a
|
||||
|
|
Loading…
Reference in New Issue
Block a user