Building Cython in Buildroot on Mac Os 13.4.1

Hello dear folks,
I'm trying to compile python3 packages for MT7621 using Buildroot on Mac. After following excellent guides here and here I was able to compile default image and packages.
My goal is to compile numpy with softfloat support. Unfortunately, I can not get past Cython:

    gcc -shared -L/Volumes/openwrt/staging_dir/host/lib -L/Volumes/openwrt/staging_dir/hostpkg/lib -L/Volumes/openwrt/staging_dir/target-mipsel_24kc_musl/host/lib -lpython3.9 -Wl,-rpath,/Volumes/openwrt/staging_dir/hostpkg/lib -O2 -I/Volumes/openwrt/staging_dir/host/include -I/Volumes/openwrt/staging_dir/hostpkg/include -I/Volumes/openwrt/staging_dir/target-mipsel_24kc_musl/host/include -I/Volumes/openwrt/staging_dir/host/include -I/Volumes/openwrt/staging_dir/hostpkg/include -I/Volumes/openwrt/staging_dir/target-mipsel_24kc_musl/host/include -I/Volumes/openwrt/staging_dir/hostpkg/include/python3.9 build/temp.macosx-13.4-x86_64-3.9/Volumes/openwrt/tmp/pip-install-yn7ixftb/cython_6599662dd2c14d4abe89b61790e4086e/Cython/Plex/Scanners.o -o build/lib.macosx-13.4-x86_64-3.9/Cython/Plex/Scanners.cpython-39.so
    ld: warning: directory not found for option '-L/Volumes/openwrt/staging_dir/target-mipsel_24kc_musl/host/lib'
    Undefined symbols for architecture x86_64:
      "_adler32", referenced from:
          _zlib_adler32 in libpython3.9.a(zlibmodule.o)
      "_crc32", referenced from:
          _zlib_crc32 in libpython3.9.a(zlibmodule.o)
      "_deflate", referenced from:
          _zlib_compress in libpython3.9.a(zlibmodule.o)
          _zlib_Compress_compress in libpython3.9.a(zlibmodule.o)
          _zlib_Compress_flush in libpython3.9.a(zlibmodule.o)
      "_deflateCopy", referenced from:
          _zlib_Compress_copy_impl in libpython3.9.a(zlibmodule.o)
      "_deflateEnd", referenced from:
          _zlib_compress in libpython3.9.a(zlibmodule.o)
          _Comp_dealloc in libpython3.9.a(zlibmodule.o)
          _zlib_Compress_flush in libpython3.9.a(zlibmodule.o)
      "_deflateInit2_", referenced from:
          _zlib_compressobj in libpython3.9.a(zlibmodule.o)
      "_deflateInit_", referenced from:
          _zlib_compress in libpython3.9.a(zlibmodule.o)
      "_deflateSetDictionary", referenced from:
          _zlib_compressobj in libpython3.9.a(zlibmodule.o)
      "_inflate", referenced from:
          _zlib_decompress in libpython3.9.a(zlibmodule.o)
          _zlib_Decompress_decompress in libpython3.9.a(zlibmodule.o)
          _zlib_Decompress_flush in libpython3.9.a(zlibmodule.o)
      "_inflateCopy", referenced from:
          _zlib_Decompress_copy_impl in libpython3.9.a(zlibmodule.o)
      "_inflateEnd", referenced from:
          _zlib_decompress in libpython3.9.a(zlibmodule.o)
          _Decomp_dealloc in libpython3.9.a(zlibmodule.o)
          _zlib_Decompress_flush in libpython3.9.a(zlibmodule.o)
      "_inflateInit2_", referenced from:
          _zlib_decompress in libpython3.9.a(zlibmodule.o)
          _zlib_decompressobj in libpython3.9.a(zlibmodule.o)
      "_inflateSetDictionary", referenced from:
          _set_inflate_zdict in libpython3.9.a(zlibmodule.o)
      "_zlibVersion", referenced from:
          _PyInit_zlib in libpython3.9.a(zlibmodule.o)
    ld: symbol(s) not found for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    error: command '/Volumes/openwrt/staging_dir/host/bin/gcc' failed with exit code 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /Volumes/openwrt/staging_dir/hostpkg/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/Volumes/openwrt/tmp/pip-install-yn7ixftb/cython_6599662dd2c14d4abe89b61790e4086e/setup.py'"'"'; __file__='"'"'/Volumes/openwrt/tmp/pip-install-yn7ixftb/cython_6599662dd2c14d4abe89b61790e4086e/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /Volumes/openwrt/tmp/pip-record-pkl06016/install-record.txt --single-version-externally-managed --compile --install-headers /Volumes/openwrt/staging_dir/hostpkg/include/python3.9/Cython Check the logs for full command output.
make[2]: *** [Makefile:50: /Volumes/openwrt/build_dir/target-mipsel_24kc_musl/pypi/numpy-1.20.1/.built] Error 1
make[2]: Leaving directory '/Volumes/openwrt/feeds/packages/lang/python/numpy'

Can you give some suggestion what came wrong?