From 15d6dc7315ed8ea8d4360ea4efd5601a523f46f8 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Thu, 21 Dec 2023 15:33:46 -0500 Subject: [PATCH] fix(zlib) llvm17 breaks shlib support. this fixes that. --- projects/zlib.net/package.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/projects/zlib.net/package.yml b/projects/zlib.net/package.yml index 640ce0ef..9e82c437 100644 --- a/projects/zlib.net/package.yml +++ b/projects/zlib.net/package.yml @@ -10,8 +10,11 @@ build: ./configure --prefix="{{prefix}}" make --jobs {{ hw.concurrency }} install env: - linux/aarch64: - CFLAGS: '$CFLAGS -fPIC' + linux: + CFLAGS: + - -fPIC + # undefined symbol errors in newer llvms prevent building shared libs + - -Wl,--undefined-version test: script: |