openwrtv4/package/crda/patches/101-make_crypto_use_optional.patch
Florian Fainelli dcd98a5d3a crda: update to 1.1.2
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 31177
2012-04-02 16:25:40 +00:00

13 lines
197 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -35,7 +35,9 @@ LDLIBS += `pkg-config --libs openssl`
reglib.o: keys-ssl.c
-else
+endif
+
+ifeq ($(USE_GCRYPT),1)
CFLAGS += -DUSE_GCRYPT
LDLIBS += -lgcrypt