Module: kamailio
Branch: master
Commit: 432c1e3b0f7ff6a9fa11e6d8ed8b897dc3f9246f
URL: 
https://github.com/kamailio/kamailio/commit/432c1e3b0f7ff6a9fa11e6d8ed8b897dc3f9246f

Author: Andrey Utkin <[email protected]>
Committer: Andrey Utkin <[email protected]>
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/432c1e3b0f7ff6a9fa11e6d8ed8b897dc3f9246f.diff
Patch: 
https://github.com/kamailio/kamailio/commit/432c1e3b0f7ff6a9fa11e6d8ed8b897dc3f9246f.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),)


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to