fix(libbsd)

closes #4772
This commit is contained in:
Jacob Heider 2024-01-08 10:05:38 -05:00 committed by Jacob Heider
parent 9d10d35499
commit 53b58fe760

View file

@ -10,12 +10,15 @@ platforms: linux
build:
dependencies:
hadrons.org/libmd: '*'
script: |
./configure --prefix={{prefix}}
make --jobs {{hw.concurrency}} install
script:
- ./configure --prefix={{prefix}}
- make --jobs {{hw.concurrency}} install
env:
linux:
# undefined symbol errors in newer llvms prevent building shared libs
CFLAGS: $CFLAGS -Wl,--undefined-version
test:
dependencies:
gnu.org/binutils: '*'
script:
nm {{prefix}}/lib/libbsd.so.{{version.major}} | grep strtonum
script: nm {{prefix}}/lib/libbsd.so.{{version.major}} | grep strtonum