mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 17:19:03 -04:00
Rather than trying to force things in via library constructors and weak symbols and --whole-archive and pkg-config tricks, just add new functions ncdirect_core_init() and notcurses_core_init(). libnotcurses has ncdirect_init() and notcurses_init(), which pass through to these. apps linking against notcurses-core ought use the _core_ variants directly. This gets exactly the linkage we want, everywhere. Convert many PoCs to _core_ variants. #1301 Signed-off-by: nick black <dankamongmen@gmail.com>