mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-21 06:10:56 +02:00
lief: quick workaround for https://github.com/lief-project/LIEF/issues/525
This commit is contained in:
parent
e657bf6859
commit
b6daab3a1f
1 changed files with 11 additions and 2 deletions
|
|
@ -39,8 +39,10 @@ wrap_python() {
|
|||
src_prepare() {
|
||||
#fix multilib
|
||||
sed -i "s/DESTINATION lib/DESTINATION $(get_libdir)/" CMakeLists.txt || die
|
||||
#https://github.com/lief-project/LIEF/issues/525
|
||||
sed -i "s|0.0.0|${PV}|" setup.py || die
|
||||
cmake_src_prepare
|
||||
# wrap_python ${FUNCNAME}
|
||||
wrap_python ${FUNCNAME}
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
|
@ -62,7 +64,14 @@ src_configure() {
|
|||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
wrap_python ${FUNCNAME}
|
||||
|
||||
# wrap_python ${FUNCNAME}
|
||||
compile_python() {
|
||||
${EPYTHON} setup.py build_ext
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
python_foreach_impl compile_python
|
||||
|
||||
}
|
||||
|
||||
src_install() {
|
||||
Loading…
Reference in a new issue