[sr-dev] git:master:665eef8b: Merge pull request #439 from andrey-utkin/websocket_libcrypto_linkage

Daniel-Constantin Mierla miconda at gmail.com
Mon Dec 14 15:09:28 CET 2015


Module: kamailio
Branch: master
Commit: 665eef8b4bf9dbe984b8655206585a467253322f
URL: https://github.com/kamailio/kamailio/commit/665eef8b4bf9dbe984b8655206585a467253322f

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2015-12-14T15:09:23+01:00

Merge pull request #439 from andrey-utkin/websocket_libcrypto_linkage

modules/websocket: ensure linkage to libcrypto

---

Modified: modules/websocket/Makefile

---

Diff:  https://github.com/kamailio/kamailio/commit/665eef8b4bf9dbe984b8655206585a467253322f.diff
Patch: https://github.com/kamailio/kamailio/commit/665eef8b4bf9dbe984b8655206585a467253322f.patch

---

diff --git a/modules/websocket/Makefile b/modules/websocket/Makefile
index 915c81a..010aa90 100644
--- a/modules/websocket/Makefile
+++ b/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),)




More information about the sr-dev mailing list