cbb1d7ec37
--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.