tools/elfutils: use conditional to block build of shared objects
authorMichael Pratt <mcpratt@pm.me>
Sat, 18 May 2024 01:23:33 +0000 (21:23 -0400)
committerRobert Marko <robimarko@gmail.com>
Wed, 19 Jun 2024 09:22:13 +0000 (11:22 +0200)
commit9670a38d08c1d842f16ef7811080808f2c147898
treef4d2c88f9a6eef7d3ff5c2b37a1741ca5a223465
parent954179e412f19484fb9354f4c52f4beb9deb94a3
tools/elfutils: use conditional to block build of shared objects

Add a potentially upstream-friendly conditional
using the libtool configure variable "enable_shared"
in order to block building and installing of shared objects
and adjust the build of static libraries
instead of directly patching lines in or out.

Signed-off-by: Michael Pratt <mcpratt@pm.me>
Link: https://github.com/openwrt/openwrt/pull/15690
Signed-off-by: Robert Marko <robimarko@gmail.com>
tools/elfutils/patches/100-portability.patch