Fix SSL-related linker errors on Linux

This commit is contained in:
Joseph Henry 2022-01-26 14:02:42 -08:00
parent 2850f131e2
commit 60057d7072
No known key found for this signature in database
GPG key ID: C45B33FF5EBC9344

View file

@ -42,9 +42,9 @@ else
endif
ifeq ($(ZT_DEBUG),1)
LDLIBS+=zeroidc/target/debug/libzeroidc.a -ldl
LDLIBS+=zeroidc/target/debug/libzeroidc.a -ldl -lssl -lcrypto
else
LDLIBS+=zeroidc/target/release/libzeroidc.a -ldl
LDLIBS+=zeroidc/target/release/libzeroidc.a -ldl -lssl -lcrypto
endif
# Use bundled http-parser since distribution versions are NOT API-stable or compatible!