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