common/gnu-configure-args: set exec_prefix to ${prefix}

autotools will pass its configure_args to subdir if required,
if we don't init exec_prefix, it will pass --libdir=NONE/lib{32,64} to
subdir configure.
This commit is contained in:
Đoàn Trần Công Danh 2021-02-23 20:05:17 +07:00
parent 426dac7f9a
commit c96738a6e9

View File

@ -18,6 +18,7 @@ export configure_args+=" --host=$XBPS_TRIPLET --build=$XBPS_TRIPLET"
# This is to make sure 32-bit and 64-bit libs can coexist when looking
# up things (the opposite-libdir is always symlinked as libNN)
export configure_args+=" --libdir=\${exec_prefix}/lib${XBPS_TARGET_WORDSIZE}"
export configure_args+=" --exec-prefix=\${prefix}"
_AUTOCONFCACHEDIR=${XBPS_COMMONDIR}/environment/configure/autoconf_cache