1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-19 06:54:58 +01:00
openwrt/package/crda/patches/101-make_crypto_use_optional.patch
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