mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-15 21:02:30 +01:00
This commit is contained in:
parent
def782e76e
commit
67a174d7af
1 changed files with 7 additions and 2 deletions
|
|
@ -23,6 +23,8 @@ DEPEND="${RDEPEND}
|
|||
python? ( dev-python/setuptools[${PYTHON_USEDEP}] )"
|
||||
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
#FIXME: LIEF_TESTS
|
||||
RESTRICT="test"
|
||||
|
||||
# linxon: WHY??
|
||||
CMAKE_BUILD_TYPE=
|
||||
|
|
@ -49,12 +51,15 @@ src_configure() {
|
|||
local FORCE32=NO
|
||||
use x86 && FORCE32=YES
|
||||
|
||||
local PYTHON_API=NO
|
||||
use python && PYTHON_API=YES
|
||||
|
||||
#Do not install python using cmake
|
||||
local mycmakeargs=(
|
||||
-DBUILD_SHARED_LIBS="$(usex static-libs OFF ON)"
|
||||
-DLIEF_EXAMPLES="$(usex examples ON OFF)"
|
||||
-DLIEF_PYTHON_API=off
|
||||
-DLIEF_INSTALL_PYTHON="OFF"
|
||||
-DLIEF_PYTHON_API="$PYTHON_API"
|
||||
# -DLIEF_INSTALL_PYTHON="OFF"
|
||||
-DLIEF_FORCE32="$FORCE32"
|
||||
)
|
||||
cmake_src_configure
|
||||
|
|
|
|||
Loading…
Reference in a new issue