mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
dev-python/pybind11: Another fix for .pc prefix, with working tests
Closes: https://bugs.gentoo.org/961861 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
parent
4f7e11e7d5
commit
f2caa9279a
@ -61,8 +61,8 @@ python_configure() {
|
||||
"${DISTUTILS_ARGS[@]}"
|
||||
-DPYBIND11_TEST=$(usex test)
|
||||
|
||||
# use absolute path to force clean prefix in pkg-config file
|
||||
-DCMAKE_INSTALL_DATAROOTDIR="${EPREFIX}"/usr/share
|
||||
# fix missing prefix, https://bugs.gentoo.org/961861
|
||||
-Dprefix_for_pc_file="${EPREFIX}"/usr
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user