Forráskód Böngészése

modules/websocket: ensure linkage to libcrypto

Fixes linkage for Ubuntu Wily (15.10).
The issue manifests itself as "undefined symbol: SHA1" error at module loading.
Andrey Utkin 9 éve
szülő
commit
432c1e3b0f
1 módosított fájl, 6 hozzáadás és 0 törlés
  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),)