1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-15 13:42:29 +02:00
openwrt-xburst/package/crda/patches/101-make_crypto_use_optional.patch
hauke b44ef5439b [crda] Update crda to version 1.0.2 and regulatory database to 2009.04.17.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15405 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-25 14:55:18 +00:00

14 lines
197 B
Diff

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