Selaa lähdekoodia

Merge pull request #439 from andrey-utkin/websocket_libcrypto_linkage

modules/websocket: ensure linkage to libcrypto
Daniel-Constantin Mierla 9 vuotta sitten
vanhempi
commit
665eef8b4b
1 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  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),)