libselinux: Fix cross-compilation with Python 3

This commit is contained in:
Samuel Dionne-Riel 2020-01-12 23:30:10 -05:00
parent 2d4f45188d
commit 0f94b540a5

View File

@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
"MAN3DIR=$(man)/share/man/man3"
"MAN5DIR=$(man)/share/man/man5"
"MAN8DIR=$(man)/share/man/man8"
"PYTHON=python"
"PYTHON=${python.pythonForBuild}/bin/python"
"PYTHONLIBDIR=$(py)/${python.sitePackages}"
"SBINDIR=$(bin)/sbin"
"SHLIBDIR=$(out)/lib"