summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-03 19:52:32 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-03 19:52:32 (EDT)
commit4d0ed2eb4c56b843090e235c1b6bbe8c33106621 (patch)
treeb504c05dcdaa6cdc869d986d5c35e4775ea1e766 /build
parente79125a56d32ee938049e6bd6a861b6e09724fcf (diff)
build: Remove shared library and move static lib
Building libubox.so can be avoided by building just the "ubox-static" target, however the "install" target will just build it anyway. The libdir can only be set in some CMake-using projects.
Diffstat (limited to 'build')
-rwxr-xr-xbuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/build b/build
index 8227aef..f7b497f 100755
--- a/build
+++ b/build
@@ -12,6 +12,9 @@ build:
install: build
oh-autoinstall
+ rm -f dest/usr/lib/libubox.so
+ mkdir -p dest/usr/lib/$(OPK_HOST_ARCH)
+ mv dest/usr/lib/libubox.a dest/usr/lib/$(OPK_HOST_ARCH)/libubox.a
oh-fixperms
oh-strip
oh-installfiles