hooks/prepare-32bit: do not create 32bit pkgs for perl/python/ruby modules.
This commit is contained in:
parent
ed8de281e4
commit
38c9ebf6df
1 changed files with 8 additions and 0 deletions
|
@ -11,6 +11,14 @@
|
||||||
hook() {
|
hook() {
|
||||||
local destdir32=${XBPS_DESTDIR}/${pkgname}-32bit-${version}
|
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.
|
# By default always enabled unless "lib32disabled" is set.
|
||||||
if [ -n "$lib32disabled" ]; then
|
if [ -n "$lib32disabled" ]; then
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue