mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 22:26:31 +00: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:
parent
7663664113
commit
c108b34e85
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user