package/zfs: replace PYTHON_VERSION_MAJOR
PATCH 1/1 package/zfs: replace PYTHON_VERSION_MAJOR
Replace PYTHON_VERSION_MAJOR by PYTHON3_VERSION_MAJOR now that python2 has been dropped. It should be noted that PYTHON_SITE_PKG was wrongly set since the addition of the package in commit 4470bc9914d730383db86f58bc86fb09739622dc
Signed-off-by Fabrice Fontaine <[email protected]>
--- package/zfs/zfs.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/zfs/zfs.mk +1 -1
@@ -44,7 +44,7 @@ ZFS_CONF_ENV += \ PYTHON_CPPFLAGS="`$(STAGING_DIR)/usr/bin/python3-config --includes`" \ PYTHON_LIBS="`$(STAGING_DIR)/usr/bin/python3-config --ldflags`" \ PYTHON_EXTRA_LIBS="`$(STAGING_DIR)/usr/bin/python3-config --libs --embed`" \ - PYTHON_SITE_PKG="/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages" + PYTHON_SITE_PKG="/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages" ZFS_CONF_OPTS += --enable-pyzfs else ZFS_CONF_OPTS += --disable-pyzfs --without-python
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Fabrice" == Fabrice Fontaine <[email protected]> writes:
Replace
PYTHON_VERSION_MAJORbyPYTHON3_VERSION_MAJORnow that python2 has been dropped. It should be noted thatPYTHON_SITE_PKGwas wrongly set since the addition of the package in commit4470bc9914d730383db86f58bc86fb09739622dcSigned-off-by Fabrice Fontaine <[email protected]>
Committed, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot