mirror of
https://github.com/archlinux/aur.git
synced 2026-02-28 08:43:20 +01:00
haproxy-awslc: don't check() on dynamic lib of aws-lc for now
Make building w/ staticlib works.
This commit is contained in:
parent
7a8917a540
commit
2fa130ab95
2 changed files with 11 additions and 4 deletions
2
.SRCINFO
2
.SRCINFO
|
|
@ -1,7 +1,7 @@
|
|||
pkgbase = haproxy-awslc
|
||||
pkgdesc = Reliable, high performance TCP/HTTP load balancer built with aws-lc
|
||||
pkgver = 3.3.3
|
||||
pkgrel = 2
|
||||
pkgrel = 3
|
||||
url = https://www.haproxy.org/
|
||||
install = haproxy.install
|
||||
arch = x86_64
|
||||
|
|
|
|||
13
PKGBUILD
13
PKGBUILD
|
|
@ -15,7 +15,7 @@
|
|||
pkgname=haproxy-awslc
|
||||
_pkgname=haproxy
|
||||
pkgver=3.3.3
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
|
||||
pkgdesc='Reliable, high performance TCP/HTTP load balancer built with aws-lc'
|
||||
url='https://www.haproxy.org/'
|
||||
|
|
@ -105,10 +105,17 @@ build() {
|
|||
check() {
|
||||
cd "haproxy-${pkgver%.*}"
|
||||
|
||||
# We need to make sure haproxy actually links to .so of aws-lc
|
||||
# I'd like to make sure haproxy actually links to .so of aws-lc
|
||||
# A misconfigured build could fallback to linking openssl because aws-lc
|
||||
# doesn't change the soname.
|
||||
ldd ./haproxy | grep -Fq /usr/lib/aws-lc/
|
||||
#
|
||||
# ldd ./haproxy | grep -Fq /usr/lib/aws-lc/
|
||||
#
|
||||
# However, aws-lc upstream doesn't promise ABI stability yet. The
|
||||
# maintainer of AUR/aws-lc decides to go with staticlib for now.
|
||||
# Good news for me: the build process of haproxy stays the same.
|
||||
#
|
||||
# Upstream issue: https://github.com/aws/aws-lc/issues/1098
|
||||
if [ $? = 1 ]; then
|
||||
echo "Executable \`haproxy' isn't linked to aws-lc libraries. Abort"
|
||||
return 1
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue