diff --git a/srcpkgs/openmpi/template b/srcpkgs/openmpi/template index c0eeb69b1e3..696765fbd40 100644 --- a/srcpkgs/openmpi/template +++ b/srcpkgs/openmpi/template @@ -3,7 +3,8 @@ pkgname=openmpi version=4.1.0 revision=3 build_style=gnu-configure -configure_args="--enable-ipv6 --with-hwloc=${XBPS_CROSS_BASE}/usr" +configure_args="--enable-ipv6 --with-hwloc=${XBPS_CROSS_BASE}/usr + --libdir=\${prefix}/lib${XBPS_TARGET_WORDSIZE}" hostmakedepends="gcc-fortran libgomp-devel perl pkg-config automake libtool" makedepends="libgfortran-devel libgomp-devel libhwloc-devel zlib-devel libevent-devel" conf_files="