mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-crypt/adcli: Fix building when cross-compiling
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com> Part-of: https://codeberg.org/gentoo/gentoo/pulls/1069 Merges: https://codeberg.org/gentoo/gentoo/pulls/1069 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
e89f60dba2
commit
b368b8f232
@@ -37,6 +37,14 @@ src_prepare() {
|
||||
src_configure() {
|
||||
# builds its own policy, no selinux until policies are official
|
||||
local myconf="--disable-selinux-support"
|
||||
# building selinux policies is explicitly disabled, but
|
||||
# configure still checks for existence of
|
||||
# /usr/share/selinux/devel/Makefile with AC_CHECK_FILE - this
|
||||
# results in an error when cross-compiling:
|
||||
#
|
||||
# checking for /usr/share/selinux/devel/Makefile... configure:
|
||||
# error: cannot check for file existence when cross compiling
|
||||
local -x ac_cv_file__usr_share_selinux_devel_Makefile=no
|
||||
econf \
|
||||
${myconf} \
|
||||
$(use_enable doc) \
|
||||
|
||||
Reference in New Issue
Block a user