From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Korsgaard Date: Sun, 18 Oct 2015 21:06:16 +0200 Subject: [Buildroot] [PATCH 1/1] musl: Honor BR2_STATIC_LIBS / BR2_SHARED_LIBS In-Reply-To: <20151018183347.06045571@free-electrons.com> (Thomas Petazzoni's message of "Sun, 18 Oct 2015 18:33:47 +0200") References: <1444796977-23004-1-git-send-email-chaduffy@cisco.com> <20151018150918.7db2cc07@free-electrons.com> <20151018155838.GE3583@free.fr> <20151018183347.06045571@free-electrons.com> Message-ID: <8737x89etz.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Thomas" == Thomas Petazzoni writes: > Charles, Yann, > On Sun, 18 Oct 2015 16:18:10 +0000, Charles Duffy wrote: >> I provided this patch because my build results were unnecessarily enlarged >> by dynamic libraries on an otherwise static-only system. >> >> It sounds to me like we could optionally disable only dynamic libraries; >> leave static libraries always enabled; and end up in a place that works for >> everyone. > Yeah, that's also my thought. In uClibc, you can enable/disable the > shared library build, but not the static library build. So maybe we > should do: > --enable-static \ > $(if $(BR2_STATIC_LIBS),--disable-shared,--enable-shared) > I.e, always static, and shared as soon as BR2_STATIC_LIBS is disabled. Yes, I think that's the safest/easiest/best-matching-the-other-libcs approach. -- Venlig hilsen, Peter Korsgaard