mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
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:
@@ -19,6 +19,11 @@ SOFTETHER_DEPENDENCIES += libiconv
|
|||||||
SOFTETHER_CONF_ENV = LIBS+=" -liconv"
|
SOFTETHER_CONF_ENV = LIBS+=" -liconv"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_STATIC_LIBS),y)
|
||||||
|
# openssl needs zlib
|
||||||
|
SOFTETHER_CONF_ENV += LIBS+=" -lz"
|
||||||
|
endif
|
||||||
|
|
||||||
SOFTETHER_CONF_OPTS = \
|
SOFTETHER_CONF_OPTS = \
|
||||||
--with-openssl="$(STAGING_DIR)/usr" \
|
--with-openssl="$(STAGING_DIR)/usr" \
|
||||||
--with-zlib="$(STAGING_DIR)/usr"
|
--with-zlib="$(STAGING_DIR)/usr"
|
||||||
|
|||||||
Reference in New Issue
Block a user