Module: kamailio
Branch: master
Commit: 432c1e3b0f7ff6a9fa11e6d8ed8b897dc3f9246f
URL:
https://github.com/kamailio/kamailio/commit/432c1e3b0f7ff6a9fa11e6d8ed8b897…
Author: Andrey Utkin <andrey.od.utkin(a)gmail.com>
Committer: Andrey Utkin <andrey.od.utkin(a)gmail.com>
Date: 2015-12-12T22:37:15+02:00
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.
---
Modified: modules/websocket/Makefile
---
Diff:
https://github.com/kamailio/kamailio/commit/432c1e3b0f7ff6a9fa11e6d8ed8b897…
Patch:
https://github.com/kamailio/kamailio/commit/432c1e3b0f7ff6a9fa11e6d8ed8b897…
---
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),)