serenity/Ports/stress-ng/package.sh
sdomi 4db8a0b964 Toolchain: Fix default library paths when building with clang
When building with the GNU toolchain, /usr/local/lib and
/usr/local/include are among the default search paths for the compiler
and linker. It seems that this is not the case for Clang/LLVM, and thus
some packages fail to build, while others silently drop optional deps.

This commit adds those paths back, fixing multiple packages at once.
Additionally, it removes legacy -I/-L includes in various Ports which
are no longer needed.

Co-Authored-By: Nico Weber <thakis@chromium.org>
2024-08-04 11:09:53 -04:00

13 lines
300 B
Bash
Executable file

#!/usr/bin/env -S bash ../.port_include.sh
port='stress-ng'
version='0.16.04'
files=(
"https://github.com/ColinIanKing/stress-ng/archive/V${version}.tar.gz#3453719508e9e02c57a736c154408538372d078be7dcf8e0165d37a821cdba45"
)
depends=(
'zlib'
)
pre_configure() {
export LDFLAGS="-lzlib"
}