1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-30 01:27:34 +00:00

Ports: Fix building the stress-ng port

This commit is contained in:
Gunnar Beutner 2021-04-13 03:31:10 +02:00 committed by Andreas Kling
parent e83caffccc
commit 341b44b6f7
2 changed files with 66 additions and 13 deletions

View file

@ -2,4 +2,9 @@
port=stress-ng
version=0.11.23
files="https://github.com/ColinIanKing/stress-ng/archive/V${version}.tar.gz stress-ng-${version}.tar.gz"
makeopts="STATIC=1 LDFLAGS=-L${SERENITY_BUILD_DIR}/Root/usr/local/lib"
depends=zlib
pre_configure() {
export CFLAGS="-I${SERENITY_BUILD_DIR}/Root/usr/local/include"
export LDFLAGS="-L${SERENITY_BUILD_DIR}/Root/usr/local/lib -lzlib"
}