Skip to content

Commit

Permalink
Unify lib64 and lib folders. Symlink the NCurses headers.
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxwell175 authored Feb 24, 2024
1 parent f60355c commit 12e36fa
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down

0 comments on commit 12e36fa

Please sign in to comment.