package/pure-ftpd: fix static build with openssl and latomic
PATCH 1/1 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
--- package/pure-ftpd/pure-ftpd.mk | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
package/pure-ftpd/pure-ftpd.mk +2 -4
@@ -40,10 +40,8 @@ endif ifeq ($(BR2_PACKAGE_OPENSSL),y) PURE_FTPD_CONF_OPTS += --with-tls -PURE_FTPD_DEPENDENCIES += openssl -ifeq ($(BR2_STATIC_LIBS),y) -PURE_FTPD_CONF_ENV += LIBS='-lssl -lcrypto -lz' -endif +PURE_FTPD_DEPENDENCIES += host-pkgconf openssl +PURE_FTPD_CONF_ENV += LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl` else PURE_FTPD_CONF_OPTS += --without-tls endif
Signature · 1 line
2.20.1
Arnout Vandecappelle
AppliedPATCH 1/1 package/pure-ftpd: fix static build with openssl and latomic
Quoted 6 lines · Fabrice Fontaine
Use pkg-config to find openssl dependencies such as lz or latomic
Fixes:
- http://autobuild.buildroot.org/results/eba8d344446b0db6327c0588c456c14594984f76Signed-off-by Fabrice Fontaine <[email protected]>
Applied to master, thanks.
Regards,
Arnout
Quoted 22 lines
--- package/pure-ftpd/pure-ftpd.mk | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)package/pure-ftpd/pure-ftpd.mk +2
-4@@ -40,10 +40,8 @@ endif ifeq ($(BR2_PACKAGE_OPENSSL),y) PURE_FTPD_CONF_OPTS += --with-tls -PURE_FTPD_DEPENDENCIES += openssl -ifeq ($(BR2_STATIC_LIBS),y) -PURE_FTPD_CONF_ENV += LIBS='-lssl -lcrypto -lz' -endif +PURE_FTPD_DEPENDENCIES += host-pkgconf openssl +PURE_FTPD_CONF_ENV += LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl` else PURE_FTPD_CONF_OPTS += --without-tls endif
PATCH 1/1 package/pure-ftpd: fix static build with openssl and latomic
In reply to Fabrice FontaineQuoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Fabrice" == Fabrice Fontaine <[email protected]> writes:
Use pkg-config to find openssl dependencies such as lz or latomic Fixes:
- http://autobuild.buildroot.org/results/eba8d344446b0db6327c0588c456c14594984f76Signed-off-by Fabrice Fontaine <[email protected]>
Committed to 2019.02.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard