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