[packages] openconnect: update patch (missed in r22604)
[openwrt/svn-archive/archive.git] / net / openconnect / patches / 001-change-openssl-paths.patch
1 --- a/Makefile
2 +++ b/Makefile
3 @@ -15,7 +15,7 @@ endif
4 # dir; there's no need to install it anywhere (we link it statically).
5 ifdef OPENSSL
6 SSL_CFLAGS += -I$(OPENSSL)/include
7 -SSL_LDFLAGS += $(OPENSSL)/libssl.a $(OPENSSL)/libcrypto.a
8 +SSL_LDFLAGS += $(OPENSSL)/lib/libssl.a $(OPENSSL)/lib/libcrypto.a
9 else
10 ifeq ($(wildcard /usr/include/openssl),)
11 $(error "No OpenSSL in /usr/include/openssl. Cannot continue");