소스 검색

Merge pull request #439 from andrey-utkin/websocket_libcrypto_linkage

modules/websocket: ensure linkage to libcrypto
Daniel-Constantin Mierla 9 년 전
부모
커밋
665eef8b4b
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      modules/websocket/Makefile

+ 6 - 0
modules/websocket/Makefile

@@ -13,6 +13,12 @@ SSL_BUILDER=$(shell \
 	if pkg-config --exists libssl; then \
 		echo 'pkg-config libssl'; \
 	fi)
+ifneq($(SSL_BUILDER),)
+SSL_BUILDER+=$(shell \
+	if pkg-config --exists libcrypto; then \
+		echo 'libcrypto'; \
+	fi)
+endif
 endif
 
 ifneq ($(SSL_BUILDER),)