libs/nixio: link with libcrypto when using OpenSSL as digest backend
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 20 Nov 2011 18:18:46 +0000 (18:18 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 20 Nov 2011 18:18:46 +0000 (18:18 +0000)
libs/nixio/Makefile

index 42d3666524b10dfb6baf8164682999d31ccf8bac..fd2e06afc8d30f6995889391a655468aabc8f474 100644 (file)
@@ -32,7 +32,7 @@ ifeq ($(NIXIO_TLS),axtls)
 endif
 
 ifeq ($(NIXIO_TLS),openssl)
 endif
 
 ifeq ($(NIXIO_TLS),openssl)
-       NIXIO_LDFLAGS += -lssl
+       NIXIO_LDFLAGS += -lssl -lcrypto
 endif
 
 ifeq ($(NIXIO_TLS),cyassl)
 endif
 
 ifeq ($(NIXIO_TLS),cyassl)