Переглянути джерело

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),)