mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 07:57:43 +00:00
package/pure-ftpd: fix static build with openssl and latomic
Use pkg-config to find openssl dependencies such as lz or latomic Fixes: - http://autobuild.buildroot.org/results/eba8d344446b0db6327c0588c456c14594984f76 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
f5c906c598
commit
ff5504b4da
@ -46,10 +46,8 @@ endif
|
|||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||||
PURE_FTPD_CONF_OPTS += --with-tls
|
PURE_FTPD_CONF_OPTS += --with-tls
|
||||||
PURE_FTPD_DEPENDENCIES += openssl
|
PURE_FTPD_DEPENDENCIES += host-pkgconf openssl
|
||||||
ifeq ($(BR2_STATIC_LIBS),y)
|
PURE_FTPD_CONF_ENV += LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl`
|
||||||
PURE_FTPD_CONF_ENV += LIBS='-lssl -lcrypto -lz'
|
|
||||||
endif
|
|
||||||
else
|
else
|
||||||
PURE_FTPD_CONF_OPTS += --without-tls
|
PURE_FTPD_CONF_OPTS += --without-tls
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user