-
Passing --with-ncurses-libraries means the path which gets backed in progagate into the built binaries. This is incorrect when we want to distribute the binaries because the user might not have the library in that specific place. It's the user's reponsibility to direct the dynamic linker to the right place. Fixes #19968 (cherry picked from commit 3d3cee377dac31f24762e439dd614fccb8e4437e)
897245af