[blfs] 02/02: libproxy: add --buildtype=release
| Newsgroups | gmane.linux.lfs.beyond.book |
|---|---|
| Message-ID | <[email protected]> |
This is an automated email from the git hooks/post-receive script. git pushed a commit to branch trunk in repository blfs. commit 2f54c28cdb96d9d9397eeed4709be206e3c86cff Author: Xi Ruoyao <[email protected]> AuthorDate: Thu Jul 16 01:51:43 2026 +0800 libproxy: add --buildtype=release -D release=true does NOT imply --buildtype=release. So without the latter the build type defaults to debug, producing unoptimized binaries. Also annoyingly --default-library does not work for this package. The build system of this package is really a mess... --- general/genlib/libproxy.xml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/general/genlib/libproxy.xml b/general/genlib/libproxy.xml index 40a9f52a87..4aa91968bf 100644 --- a/general/genlib/libproxy.xml +++ b/general/genlib/libproxy.xml @@ -88,9 +88,10 @@ <screen><userinput>mkdir build && cd build && -meson setup .. \ - --prefix=/usr \ - -D release=true && +meson setup .. \ + --prefix=/usr \ + --buildtype=release \ + -D release=true && ninja</userinput></screen> @@ -100,6 +101,7 @@ ninja</userinput></screen> <screen role="root"><userinput>ninja install</userinput></screen> + <!-- N.B. - -default-library=shared does not work for this package. --> <para> Still as the &root; user, remove the useless static library: </para> -- To stop receiving notification emails like this one, please contact the administrator of this repository. -- http://lists.linuxfromscratch.org/sympa/info/blfs-book Unsubscribe: See the above information page