* fix(zlib)

boost complaining about -fPIC:

https://github.com/pkgxdev/pantry/actions/runs/7226847979/job/19693299131

* don't include newlines
This commit is contained in:
Jacob Heider 2023-12-15 17:05:44 -05:00 committed by GitHub
parent bb4c3edd9e
commit 1614e01c30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View file

@ -29,7 +29,7 @@ jobs:
RESULT="$RESULT ${y//$'\n'/}"
done
if [ -n "$RESULT" ]; then
RESULT="$(echo $RESULT | jq -R -s -c 'split(" ")')"
RESULT="$(echo -n $RESULT | jq -R -s -c 'split(" ")')"
else
RESULT='["zlib.net"]'
fi

View file

@ -9,6 +9,9 @@ build:
script: |
./configure --prefix="{{prefix}}"
make --jobs {{ hw.concurrency }} install
env:
linux/aarch64:
CFLAGS: '$CFLAGS -fPIC'
test:
script: |