Undefined symbol: std* when linking python statically for android

Built a Static libpython3.14.a following cpython/Android at main · python/cpython commenting out “–without-static-libpython” line in Android.py,

readobj output:
File: .\libpython3.14.a(getbuildinfo.o)
Format: elf64-littleaarch64
Arch: aarch64
AddressSize: 64bit
LoadName:
… every object is elf64-littleaarch64

i try linking it using cmake:

target_link_libraries(myproj
${CMAKE_SOURCE_DIR}/lib/libpython3.14.a
}

FAILED: libmyproj.so
ld.lld: error: undefined symbol: stderr
ld.lld: error: undefined symbol: stdout
… same for all of these: sigwaitinfo, sigtimedwait, pwritev, process_vm_writev, process_vm_readv, preadv, stdin, openpty, login_tty, forkpty, lockf, mkfifoat