diff options
author | Sam James <sam@gentoo.org> | 2023-01-17 23:18:21 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-01-17 23:18:56 +0000 |
commit | 7f39b8270a96b374e00fea55ed3d47982987fd45 (patch) | |
tree | 27eb9fe9ad434c717b54ca9c1292426caa5522ee /sys-process | |
parent | sys-process/lsof: fix finding RPC headers (diff) | |
download | gentoo-7f39b8270a96b374e00fea55ed3d47982987fd45.tar.gz gentoo-7f39b8270a96b374e00fea55ed3d47982987fd45.tar.bz2 gentoo-7f39b8270a96b374e00fea55ed3d47982987fd45.zip |
sys-process/lsof: fix build w/ USE=rpc
Closes: https://bugs.gentoo.org/891249
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-process')
-rw-r--r-- | sys-process/lsof/lsof-4.97.0.ebuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-process/lsof/lsof-4.97.0.ebuild b/sys-process/lsof/lsof-4.97.0.ebuild index b99b7b47efa2..5bcf95c0223f 100644 --- a/sys-process/lsof/lsof-4.97.0.ebuild +++ b/sys-process/lsof/lsof-4.97.0.ebuild @@ -39,7 +39,8 @@ src_configure() { export ac_cv_header_selinux_selinux_h=$(usex selinux) if use rpc ; then - append-cppflags $(tc-getPKG_CONFIG) libtirpc --cflags) + append-cppflags $($(tc-getPKG_CONFIG) libtirpc --cflags) + append-libs $($(tc-getPKG_CONFIG) libtirpc --libs) fi [[ ${CHOST} == *-solaris2.11 ]] && append-cppflags -DHAS_PAD_MUTEX |