summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-08-04 11:23:55 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-08-04 11:23:55 (EDT)
commitd7df98133f1fca94b438a84bebbd65c039d55936 (patch)
treecc762b4acbd94b955d0e13e751395be834973b0b
parent4d7912c15a8f16907eeeae8d6c4b0590dd6ac043 (diff)
build: Fix installation of pkg-config files.
-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