Conversation
required on aarch64 debian bookworm. While libreadline requires e.g. tputs it does not link against libtinfo itself.
|
The CI for this failed on osx, can you add a check that just scopes the addition to the platform that needs it? Also what triplet/toolchain/sysroot are you using? I’d like to add a cross compile check (maybe emulated run of test suite if I can get that to work) before merging. I’ll take care of updating the ci, just need to know what your env is to match. |
|
Sure, will do. I wrote a small blog post demystifying cross compilation. It is basically that setup, just that i use bookworm instead of buster. The checks passed within the chroot. TL/DR: debian bookworm installed via debootstrap with the libreadline-dev package installed and emulated via qemu-aarch64-static. |
- switched from CHECK_INCLUDE_FILE to CHECK_LIBRARY_EXISTS fixes detection issue of readline on archlinux due to missing imports (unknown type FILE) - discovering tinfo using CHECK_LIBRARY_EXISTS the result is used in the discovery of readline as the same error as discussed in walterschell#32 prevented the detection of readline
|
the changes are inspired by this post.
on a different note: I updated the blog post as library detection was not working. See cmake guide |
required on aarch64 debian bookworm. While libreadline requires e.g. tputs it does not link against libtinfo itself.
Fixes #32