Skip to content

Commit c0ec9bd

Browse files
authored
Merge pull request #33 from Fearyncess/fix-terminfo-case-dir
build-hnp/ncurses: fix terminfo cases, by building a temporary tic program
2 parents f67a7c3 + 791c2ec commit c0ec9bd

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

build-hnp/ncurses/Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@ all: download/ncurses-6.5.tar.gz
44
rm -rf temp build
55
mkdir -p temp build
66
cd temp && tar xvf ../download/ncurses-6.5.tar.gz
7+
cd temp/ncurses-6.5 && mkdir build-tic
8+
cd temp/ncurses-6.5/build-tic && ../configure CC="cc" CXX="" LD="ld" AR="ar" CXXFLAGS="" CFLAGS="" LDFLAGS="" --disable-mixed-case
9+
cd temp/ncurses-6.5/build-tic && make -C include
10+
cd temp/ncurses-6.5/build-tic && make -C progs tic
711
cd temp/ncurses-6.5 && mkdir build
812
cd temp/ncurses-6.5/build && ../configure --with-shared --with-strip-program="$(OHOS_SDK_HOME)/native/llvm/bin/llvm-strip" --with-termlib --with-cxx-binding --with-widec --without-ada --disable-mixed-case --prefix=/data/app/base.org/base_1.0 --host aarch64-unknown-linux-musl
9-
cd temp/ncurses-6.5/build && make -j $(shell nproc) && make install DESTDIR=$(shell pwd)/build
13+
cd temp/ncurses-6.5/build && make -j $(shell nproc) && make install DESTDIR=$(shell pwd)/build TIC_PATH="$(shell pwd)/temp/ncurses-6.5/build-tic/progs/tic"
1014
mkdir -p ../sysroot
1115
rm -f build/data/app/base.org/base_1.0/lib/*.a
1216
cp -rfv build/data/app/base.org/base_1.0/. ../sysroot | tee file.lst

0 commit comments

Comments
 (0)