summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/build b/build
index eef66cf..a97eceb 100755
--- a/build
+++ b/build
@@ -16,7 +16,10 @@ build:
install: build
oh-autoinstall
- rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libopkg.la
+ rm -Rf dest/usr/include/ \
+ dest/usr/lib/$(OPK_HOST_ARCH)/pkgconfig/ \
+ dest/usr/lib/$(OPK_HOST_ARCH)/libopkg.a \
+ dest/usr/lib/$(OPK_HOST_ARCH)/libopkg.la
ln -sf opkg-cl dest/usr/bin/opkg
ln -sf opkg-cl.1 dest/usr/share/man/man1/opkg.1
oh-fixperms