mirror of
https://github.com/Linux4Yourself/book.git
synced 2025-02-10 05:24:40 +08:00
21 lines
649 B
Plaintext
21 lines
649 B
Plaintext
for lib in ncurses form panel menu ; do
|
|
rm -vf /usr/lib/lib${lib}.so
|
|
echo "INPUT(-l${lib}w)" > /usr/lib/lib${lib}.so
|
|
ln -sfv ${lib}w.pc /usr/lib/pkgconfig/${lib}.pc
|
|
done
|
|
|
|
rm -vf /usr/lib/libcursesw.so
|
|
echo "INPUT(-lncursesw)" > /usr/lib/libcursesw.so
|
|
ln -sfv libncurses.so /usr/lib/libcurses.so
|
|
|
|
rm -fv /usr/lib/libncurses++w.a
|
|
|
|
make distclean
|
|
./configure --prefix=/usr \
|
|
--with-shared \
|
|
--without-normal \
|
|
--without-debug \
|
|
--without-cxx-binding \
|
|
--with-abi-version=5
|
|
make sources libs
|
|
cp -av lib/lib*.so.5* /usr/lib |