package/hostapd: fix static build with openssl and atomic
PATCH 1/1 package/hostapd: fix static build with openssl and atomic
Use pkg-config to find openssl dependencies such as lz or latomic
Fix build on sparc v8 (even if there is no autobuilder failures yet)
Signed-off-by Fabrice Fontaine <[email protected]>
--- package/hostapd/hostapd.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
package/hostapd/hostapd.mk +2 -2
@@ -35,8 +35,8 @@ HOSTAPD_CONFIG_DISABLE = # Try to use openssl if it's already available ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) -HOSTAPD_DEPENDENCIES += libopenssl -HOSTAPD_LIBS += $(if $(BR2_STATIC_LIBS),-lcrypto -lz) +HOSTAPD_DEPENDENCIES += host-pkgconf libopenssl +HOSTAPD_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs openssl` HOSTAPD_CONFIG_EDITS += 's/\#\(CONFIG_TLS=openssl\)/\1/' else HOSTAPD_CONFIG_DISABLE += CONFIG_EAP_PWD
Signature · 1 line
2.20.1
Arnout Vandecappelle
AppliedPATCH 1/1 package/hostapd: fix static build with openssl and atomic
Quoted 5 lines · Fabrice Fontaine
Use pkg-config to find openssl dependencies such as lz or latomic
Fix build on sparc v8 (even if there is no autobuilder failures yet)
Signed-off-by Fabrice Fontaine <[email protected]>
Applied to master, thanks.
Regards,
Arnout
Quoted 20 lines
--- package/hostapd/hostapd.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)package/hostapd/hostapd.mk +2
-2@@ -35,8 +35,8 @@ HOSTAPD_CONFIG_DISABLE = # Try to use openssl if it's already available ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) -HOSTAPD_DEPENDENCIES += libopenssl -HOSTAPD_LIBS += $(if $(BR2_STATIC_LIBS),-lcrypto -lz) +HOSTAPD_DEPENDENCIES += host-pkgconf libopenssl +HOSTAPD_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs openssl` HOSTAPD_CONFIG_EDITS += 's/\#\(CONFIG_TLS=openssl\)/\1/' else HOSTAPD_CONFIG_DISABLE += CONFIG_EAP_PWD
PATCH 1/1 package/hostapd: fix static build with openssl and atomic
In reply to Fabrice FontaineQuoted 6 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 Fix build on sparc v8 (even if there is no autobuilder failures yet)
Signed-off-by Fabrice Fontaine <[email protected]>
Committed to 2019.02.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard