summaryrefslogtreecommitdiff
path: root/package/crda/patches/101-make_crypto_use_optional.patch
blob: 105ffb36e7fb187758fd309f03a4c638b0f7b67c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- 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