packages/net/crda/patches/101-make_crypto_use_optional.patch
nbd 27d674c623 move a few unmaintained packages from trunk to /packages
git-svn-id: svn://svn.openwrt.org/openwrt/packages@33634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-07 12:50:15 +00:00

14 lines
197 B
Diff

--- 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