1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-01 01:04:04 +02:00
openwrt-xburst/package/crda/patches/101-make_crypto_use_optional.patch
nico 7fd9795828 [package] crda: make the whole crypto stuff optional and don't use it for now, link statically with libnl
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-30 15:48:35 +00:00

14 lines
197 B
Diff

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