Skip to content

Commit 9fc2a6c

Browse files
committed
Fix python site-packages dir
Fixes the need for PYTHONPATH on Gentoo Signed-off-by: Alec Ari <neotheuser@ymail.com>
1 parent 658d666 commit 9fc2a6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1657,7 +1657,7 @@ fi
16571657
AC_MSG_RESULT([$PYTHON_TK_VERSION])
16581658

16591659
AC_MSG_CHECKING(for site-package location)
1660-
SITEPY="$($PYTHON -c 'import sysconfig; s = sysconfig.get_scheme_names(); m=list(set(("deb_system", "rpm_prefix")) & set(s)); print(sysconfig.get_path("platlib", m.__getitem__(0))) if m else print("/usr/lib/python3/dist-packages");')"
1660+
SITEPY="$PYTHON_SITE_PKG"
16611661
AC_MSG_RESULT($SITEPY)
16621662

16631663
AC_MSG_CHECKING(for working GLU quadrics)

0 commit comments

Comments
 (0)