Explorar o código

Fix SSL-related linker errors on Linux

Joseph Henry %!s(int64=3) %!d(string=hai) anos
pai
achega
60057d7072
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      make-linux.mk

+ 2 - 2
make-linux.mk

@@ -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!