From 53b58fe76078ce694decbb122d2340eabdf59ae2 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Mon, 8 Jan 2024 10:05:38 -0500 Subject: [PATCH] fix(libbsd) closes #4772 --- projects/freedesktop.org/libbsd/package.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/projects/freedesktop.org/libbsd/package.yml b/projects/freedesktop.org/libbsd/package.yml index c2318dd1..89511c40 100644 --- a/projects/freedesktop.org/libbsd/package.yml +++ b/projects/freedesktop.org/libbsd/package.yml @@ -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