소스 검색

Fix SSL-related linker errors on Linux

Joseph Henry 3 년 전
부모
커밋
60057d7072
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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!