Skip to content

Commit 12e36fa

Browse files
authored
Unify lib64 and lib folders. Symlink the NCurses headers.
1 parent f60355c commit 12e36fa

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

build.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ export "CPPFLAGS=-I${PREFIX}/include"
3434
export "LDFLAGS=-L${PREFIX}/lib"
3535
export "PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig:${PREFIX}/share/pkgconfig"
3636

37+
mkdir -p ${PREFIX}/lib
38+
39+
if [ ! -h ${PREFIX}/lib64 ]; then
40+
ln -s lib ${PREFIX}/lib64
41+
fi
42+
3743
mkdir -p dep-build
3844
cd dep-build
3945

@@ -44,6 +50,7 @@ cd ncurses-6.4
4450
./configure --prefix=${PREFIX} --disable-shared --enable-termcap --enable-widec --enable-getcap
4551
make -j$(nproc --all)
4652
make install
53+
ln -s ncursesw/* ${PREFIX}/include/
4754
cd ..
4855
fi
4956

0 commit comments

Comments
 (0)