ath9k: due to popular request, allow ad-hoc+ap again, now that the beacon code can...
[openwrt-10.03/.git] / package / crda / patches / 101-make_crypto_use_optional.patch
1 --- a/Makefile
2 +++ b/Makefile
3 @@ -32,7 +32,9 @@ LDLIBS += `pkg-config --libs openssl`
4  
5  reglib.o: keys-ssl.c
6  
7 -else
8 +endif
9 +
10 +ifeq ($(USE_GCRYPT),1)
11  CFLAGS += -DUSE_GCRYPT
12  LDLIBS += -lgcrypt
13