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
}

View File

@@ -12,7 +12,7 @@ if [ "${PV}" != "9999" ]; then
verify-sig? ( https://distfiles.hacktivis.me/releases/cmd-timer/${P}.tar.gz.sign )
"
KEYWORDS="~amd64"
KEYWORDS="~amd64 ~arm64"
else
inherit git-r3
EGIT_REPO_URI="https://anongit.hacktivis.me/git/cmd-timer.git"
@@ -46,6 +46,7 @@ if [ "${PV}" != "9999" ]; then
fi
src_configure() {
export LDFLAGS="${LDFLAGS} -lrt"
use static && export LDSTATIC=-static
}