cpulimit: fix build w/ glibc-2.32
This commit is contained in:
parent
60369b5acb
commit
bfe5488e1d
|
@ -12,6 +12,7 @@ checksum=64312f9ac569ddcadb615593cd002c94b76e93a0d4625d3ce1abb49e08e2c2da
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
export CFLAGS="$CFLAGS $LDFLAGS"
|
export CFLAGS="$CFLAGS $LDFLAGS"
|
||||||
|
vsed -i -e "s;<sys/sysctl.h>;<linux/sysctl.h>;" src/cpulimit.c
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
Loading…
Reference in New Issue