From 12e36fa0cc94fb44e4fc3b5769d3dc3fc3d854ea Mon Sep 17 00:00:00 2001 From: Maxwell175 Date: Sat, 24 Feb 2024 16:08:55 -0500 Subject: [PATCH] Unify lib64 and lib folders. Symlink the NCurses headers. --- build.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build.sh b/build.sh index 71fd7f80bd1167..6e9e3410571ffd 100755 --- a/build.sh +++ b/build.sh @@ -34,6 +34,12 @@ export "CPPFLAGS=-I${PREFIX}/include" export "LDFLAGS=-L${PREFIX}/lib" export "PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig:${PREFIX}/share/pkgconfig" +mkdir -p ${PREFIX}/lib + +if [ ! -h ${PREFIX}/lib64 ]; then + ln -s lib ${PREFIX}/lib64 +fi + mkdir -p dep-build cd dep-build @@ -44,6 +50,7 @@ cd ncurses-6.4 ./configure --prefix=${PREFIX} --disable-shared --enable-termcap --enable-widec --enable-getcap make -j$(nproc --all) make install +ln -s ncursesw/* ${PREFIX}/include/ cd .. fi