diff options
| author | Sergey V. Lobanov <sergey@lobanov.in> | 2022-02-01 00:02:14 +0300 |
|---|---|---|
| committer | Rosen Penev <rosenp@gmail.com> | 2022-01-31 13:57:36 -0800 |
| commit | 43372343ee9b7c615b512d804734bf0c7c965d34 (patch) | |
| tree | 55b4eea98e95e9c0a2b3aace3a22c168e1f1fb5d /lang/python/python3 | |
| parent | f01baee526a1ce4eab7cbcbaf854748de7f1e80e (diff) | |
nut: fix build on macos
nut build fails on macos due to:
1. configure script can not use AR env var due to OpenWrt build
system provides only executable name (e.g. aarch64-openwrt-linux-musl-gcc-ar)
but configure script checks if AR has '/'. As a result, configure
script ignores AR env var and uses system `ar` but macos `ar` is
not compatible with the objects generated by OpenWrt GCC toolchain.
This commit explicitly sets ac_cv_path_AR=$(TARGET_AR) to use
OpenWrt toolchain AR.
2. configure script detects if build host is macos and adds
macosx_ups driver as a build target, but this driver can not be
build with OpenWrt toolchain because OpenWrt is Linux.
This commit explicitly disables macosx_ups driver using configure
flag --without-macosx_ups
Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
Diffstat (limited to 'lang/python/python3')
0 files changed, 0 insertions, 0 deletions
