فهرست منبع

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 \
 	if pkg-config --exists libssl; then \
 		echo 'pkg-config libssl'; \
 		echo 'pkg-config libssl'; \
 	fi)
 	fi)
+ifneq($(SSL_BUILDER),)
+SSL_BUILDER+=$(shell \
+	if pkg-config --exists libcrypto; then \
+		echo 'libcrypto'; \
+	fi)
+endif
 endif
 endif
 
 
 ifneq ($(SSL_BUILDER),)
 ifneq ($(SSL_BUILDER),)