pkg-config: cross build support.
This commit is contained in:
parent
bf01aa999d
commit
a476a95c4f
|
@ -10,3 +10,14 @@ homepage="http://pkgconfig.freedesktop.org/wiki/"
|
|||
license="GPL-2"
|
||||
distfiles="http://pkgconfig.freedesktop.org/releases/$pkgname-$version.tar.gz"
|
||||
checksum=6b6eb31c6ec4421174578652c7e141fdaae2dabad1021f420d8713206ac1f845
|
||||
|
||||
if [ -n "$XBPS_CROSS_BUILD" ]; then
|
||||
configure_args="${configure_args} glib_cv_long_long_format=I64
|
||||
glib_cv_stack_grows=no glib_cv_rtldglobal_broken=no
|
||||
glib_cv_uscore=no blib_cv_use_pid_surrogate=yes
|
||||
ac_cv_func_vsnprintf_c99=yes
|
||||
ac_cv_func_printf_unix98=yes
|
||||
ac_cv_func_posix_getpwuid_r=yes
|
||||
ac_cv_func_posix_getgrgid_r=yes
|
||||
ac_cv_func_posix_getgrgid_r=yes"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue