1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-13 16:10:37 +02:00
openwrt-xburst/package/crda/patches/101-make_crypto_use_optional.patch
florian 05ba81742d [package] crda: update to 1.1.2
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31177 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-02 16:25:40 +00:00

14 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