The default install layout for user built python modules has changed in
Debian 12 to add a 'local' dir to the prefix. Force the traditionnal
system layout by exporting 'DEB_PYTHON_INSTALL_LAYOUT=deb'.
Change-Id: I0d684be831a8deaf49dc486d6850dba3c8267be2
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
LIBDIR="lib"
LIBDIR_ARCH="$LIBDIR"
+# Force the normal Python install layout without 'local' on Debian / Ubuntu
+export DEB_PYTHON_INSTALL_LAYOUT="deb"
+
# RHEL and SLES both use lib64 but don't bother shipping a default autoconf
# site config that matches this.
if [[ ( -f /etc/redhat-release || -f /etc/products.d/SLES.prod || -f /etc/yocto-release ) ]]; then
LIBDIR="lib"
LIBDIR_ARCH="$LIBDIR"
+# Force the normal Python install layout without 'local' on Debian / Ubuntu
+export DEB_PYTHON_INSTALL_LAYOUT="deb"
+
# RHEL and SLES both use lib64 but don't bother shipping a default autoconf
# site config that matches this.
if [[ ( -f /etc/redhat-release || -f /etc/products.d/SLES.prod || -f /etc/yocto-release ) ]]; then
LIBDIR="lib"
LIBDIR_ARCH="$LIBDIR"
+# Force the normal Python install layout without 'local' on Debian / Ubuntu
+export DEB_PYTHON_INSTALL_LAYOUT="deb"
+
# RHEL and SLES both use lib64 but don't bother shipping a default autoconf
# site config that matches this.
if [[ ( -f /etc/redhat-release || -f /etc/products.d/SLES.prod || -f /etc/yocto-release ) ]]; then