trickle: fix build with newer glibc

This commit is contained in:
Tom Briden 2020-10-15 12:16:02 +01:00
parent 1d265ec71c
commit 47e3a327f5
Signed by: tombriden
GPG Key ID: 154F25A1BB9A4AD8

View File

@ -17,6 +17,7 @@ MYOPTIONS=""
DEPENDENCIES=" DEPENDENCIES="
build+run: build+run:
dev-libs/libevent:= dev-libs/libevent:=
net-libs/libtirpc
" "
BUGS_TO="hasufell@posteo.de" BUGS_TO="hasufell@posteo.de"
@ -27,3 +28,10 @@ DEFAULT_SRC_PREPARE_PATCHES=(
"${FILES}"/fix-install.patch "${FILES}"/fix-install.patch
) )
src_prepare(){
CFLAGS+=" -I/usr/$(exhost --target)/include/tirpc"
LDFLAGS+=" -ltirpc"
autotools_src_prepare
}