dev-util/u-config: update live ebuild

tested against upstream commit db2da88

Signed-off-by: NRK <nrk@disroot.org>
This commit is contained in:
NRK 2025-03-30 17:16:43 +00:00
parent 9f6b9b878e
commit fa9993523b
No known key found for this signature in database
GPG Key ID: 58CBF66F876BD8CF

View File

@ -39,12 +39,12 @@ RDEPEND="
"
src_compile() {
edo $(tc-getCC) ${CFLAGS} -o u-config generic_main.c \
edo $(tc-getCC) ${CFLAGS} -o u-config main_posix.c \
-D PKG_CONFIG_LIBDIR="\"${EPREFIX}/usr/$(get_libdir)/pkgconfig:${EPREFIX}/usr/share/pkgconfig\"" \
-D PKG_CONFIG_SYSTEM_INCLUDE_PATH="\"${EPREFIX}/usr/include\"" \
-D PKG_CONFIG_SYSTEM_LIBRARY_PATH="\"${EPREFIX}/$(get_libdir):${EPREFIX}/usr/$(get_libdir)\"" \
${LDFLAGS}
use test && edo $(tc-getCC) ${CFLAGS} -o tests test_main.c ${LDFLAGS}
use test && edo $(tc-getCC) ${CFLAGS} -o tests main_test.c ${LDFLAGS}
}
src_install() {