softether: fix static linking with openssl
Openssl uses zlib, so ensure we also link against it. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
7663664113
commit
c108b34e85
@ -19,6 +19,11 @@ SOFTETHER_DEPENDENCIES += libiconv
|
||||
SOFTETHER_CONF_ENV = LIBS+=" -liconv"
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
# openssl needs zlib
|
||||
SOFTETHER_CONF_ENV += LIBS+=" -lz"
|
||||
endif
|
||||
|
||||
SOFTETHER_CONF_OPTS = \
|
||||
--with-openssl="$(STAGING_DIR)/usr" \
|
||||
--with-zlib="$(STAGING_DIR)/usr"
|
||||
|
Loading…
Reference in New Issue
Block a user