summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-02 01:12:55 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-02 01:12:55 (EDT)
commit1c74687da4590a1f87c6d40c2605826ea9615850 (patch)
tree616f8c049d14e658035a9effcd1872faf98f25de
parent1a652bf62c778d6fd9f51e562d868c93a33a82c2 (diff)
build: Remove headers, pkg-config file, and static lib
-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