From 5ad1194dbbfae2853fec367ee1219c2e7267459b Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 3 Jul 2021 18:33:48 +0000 Subject: [PATCH] zlib: compile with -fPIC to make lld work --- core/zlib/build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/zlib/build b/core/zlib/build index 01090e82..2426a8e7 100755 --- a/core/zlib/build +++ b/core/zlib/build @@ -1,5 +1,7 @@ #!/bin/sh -e +export CFLAGS="$CFLAGS -fPIC" + ./configure \ --prefix=/usr \ --libdir=/usr/lib \