2dea247f6b
I think r247683 is wrong because libedit.so actually uses symbols from libcurses.so. Since it breaks the build, revert it now.