From 4d0ed2eb4c56b843090e235c1b6bbe8c33106621 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Wed, 03 Apr 2019 19:52:32 -0400 Subject: 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. --- 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 -- cgit v0.9.1