diff --git a/common/hooks/pre-pkg/05-prepare-32bit.sh b/common/hooks/pre-pkg/05-prepare-32bit.sh index 2cc6c6ed7c..b0743733f8 100644 --- a/common/hooks/pre-pkg/05-prepare-32bit.sh +++ b/common/hooks/pre-pkg/05-prepare-32bit.sh @@ -11,6 +11,14 @@ hook() { local destdir32=${XBPS_DESTDIR}/${pkgname}-32bit-${version} + # Do not build 32bit pkgs for: + # - perl modules + # - python modules + # - ruby modules + if [[ $build_style =~ (perl|python|ruby) ]]; then + return + fi + # By default always enabled unless "lib32disabled" is set. if [ -n "$lib32disabled" ]; then return