diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-01-30 15:48:35 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-01-30 15:48:35 +0000 |
commit | 7fd979582885396e7e521e5e6274f4bdca197419 (patch) | |
tree | dfcad95ef2384c04127bb647adb3b0ce5bef9f05 /package/crda/patches/101-make_crypto_use_optional.patch | |
parent | dd8b9f6554fd38fc7f8af6fee016adbc8556fd4f (diff) |
[package] crda: make the whole crypto stuff optional and don't use it for now, link statically with libnl
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14284 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/crda/patches/101-make_crypto_use_optional.patch')
-rw-r--r-- | package/crda/patches/101-make_crypto_use_optional.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/package/crda/patches/101-make_crypto_use_optional.patch b/package/crda/patches/101-make_crypto_use_optional.patch new file mode 100644 index 0000000000..105ffb36e7 --- /dev/null +++ b/package/crda/patches/101-make_crypto_use_optional.patch @@ -0,0 +1,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 + |