Files
RedBear-OS/recipes/libs
vasilito cbb1d7ec37 fix: ncurses/ncursesw need -fPIC for static linking into PIE
--with-pic alone doesn't generate PIC code in newer ncurses (6.6+).
The static archive produced non-PIC objects using R_X86_64_PC32
relocations, which can't be linked into PIE executables.

Forced PIC via:
- Switched DYNAMIC_INIT → DYNAMIC_STATIC_INIT (builds both shared AND static)
- Added CFLAGS+=+=-fPIC CXXFLAGS+=+=-fPIC export (forces PIC at compile)

redbear-netctl-console now links successfully against libncursesw.a.
2026-07-12 22:46:27 +03:00
..
2026-04-17 13:33:17 +01:00