From: Simon Rowe Date: Tue, 3 Dec 2019 13:14:38 +0000 Subject: [Buildroot] [PATCH 1/1] package/tini: compile executable static In-Reply-To: <5e477792-65af-42f8-5302-55ac4df554f9@mind.be> References: <1574255351-23642-1-git-send-email-simon.rowe@citrix.com> <20191123211555.GZ32494@scaer> <5e477792-65af-42f8-5302-55ac4df554f9@mind.be> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On 01/12/2019 14:41, Arnout Vandecappelle wrote: > Could you check with BR2_SHARED_LIBS=y and the current patch if it's possible > to build tini for all cases? I.e., external toolchain, internal with musl, > glibc, uClibc. If not, then you can make it conditional on !shared like this: > > $(if $(BR2_SHARED_LIBS),,-static) I've run the current patch with the following toolchains * internal, only shared libraries, musl * internal, only shared libraries, uClibc * internal, only shared libraries, glibc * external, only shared libraries, musl and tini is built correctly. > And of course, we still need an explanation why it is needed after all while > before we thought it wasn't. Does this need an expansion of the commit message or something elsewhere? Simon