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:
parent
e83caffccc
commit
341b44b6f7
2 changed files with 66 additions and 13 deletions
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue