app-misc/cmd-timer: add -lrt to LDFLAGS (glibc)

timer.c:(.text.startup+0x193): undefined reference to `timer_create'

Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
Haelwenn (lanodan) Monnier
2026-04-01 16:22:04 +02:00
parent 7025f31ca8
commit 2277de4c95
2 changed files with 3 additions and 1 deletions

View File

@@ -46,6 +46,7 @@ if [ "${PV}" != "9999" ]; then
fi
src_configure() {
export LDFLAGS="${LDFLAGS} -lrt"
use static && export LDSTATIC=-static
}