Fix libedit from linking termcap

This commit is contained in:
Wildan M 2026-04-26 09:54:32 +07:00
parent dfcbb5bebe
commit e43f2f3744
No known key found for this signature in database
GPG Key ID: 01AC53185C679C79

View File

@ -8,5 +8,7 @@ DYNAMIC_STATIC_INIT
COOKBOOK_CONFIGURE_FLAGS+=(
--prefix="${COOKBOOK_STAGE}/usr"
)
# termcap only emit static object
export CC+=" -fPIC"
cookbook_configure
"""