Browse Source

Fix SSL-related linker errors on Linux

Joseph Henry 3 years ago
parent
commit
60057d7072
1 changed files with 2 additions and 2 deletions
  1. 2 2
      make-linux.mk

+ 2 - 2
make-linux.mk

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