summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/build b/build
index 2983157..94e7fa1 100755
--- a/build
+++ b/build
@@ -6,6 +6,7 @@ build-ncurses:
oh-autoconfigure -B obj-ncurses -- \
--without-ada \
--without-tests \
+ --with-pkg-config-libdir='/usr/lib/$(OPK_HOST_ARCH)/pkgconfig' \
--enable-pc-files \
--with-install-prefix="$${PWD}/dest" \
--with-shared \
@@ -26,6 +27,7 @@ build-ncursesw:
--without-manpages \
--without-progs \
--without-tests \
+ --with-pkg-config-libdir='/usr/lib/$(OPK_HOST_ARCH)/pkgconfig' \
--enable-pc-files \
--with-install-prefix="$${PWD}/dest" \
--with-shared \
@@ -45,5 +47,4 @@ build: build-ncurses build-ncursesw
install: build
(cd obj-ncurses && make install)
(cd obj-ncursesw && make install.libs)
- mv dest/usr/lib/pkgconfig dest/usr/lib/$(OPK_HOST_ARCH)/pkgconfig
oh-installfiles