[blfs] branch trunk updated: dtc: set default_library to shared

"Git Owner" ([email protected] via blfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.book
Message-ID <178013113625.24039.6299050783703187902@rivendell.linuxfromscratch.org>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository blfs.

The following commit(s) were added to refs/heads/trunk by this push:
     new 6e9a898593 dtc: set default_library to shared
6e9a898593 is described below

commit 6e9a898593a0273c542376e9c62a00f25a0f455e
Author: Xi Ruoyao <[email protected]>
AuthorDate: Sat May 30 16:51:31 2026 +0800

    dtc: set default_library to shared
    
    So we no longer need to remove .a manually.
---
 general/prog/dtc.xml | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/general/prog/dtc.xml b/general/prog/dtc.xml
index 44a2646a40..0fe6992625 100644
--- a/general/prog/dtc.xml
+++ b/general/prog/dtc.xml
@@ -104,10 +104,11 @@
 <screen><userinput>mkdir build &amp;&amp;
 cd    build &amp;&amp;
 
-meson setup ..            \
-      --prefix=/usr       \
-      --buildtype=release \
-      -D python=disabled  &amp;&amp;
+meson setup ..                  \
+      --prefix=/usr             \
+      --buildtype=release       \
+      -D default_library=shared \
+      -D python=disabled        &amp;&amp;
 ninja</userinput></screen>
 
     <para>
@@ -120,12 +121,6 @@ ninja</userinput></screen>
 
     <screen role="root"><userinput>ninja install</userinput></screen>
 
-    <para>
-      Still as the &root; user, remove the useless static library:
-    </para>
-
-    <screen role="root"><userinput>rm /usr/lib/libfdt.a</userinput></screen>
-
     <para>
       If you have <xref linkend='texlive'/> installed, you can build the PDF
       format of the documentation by issuing the following command:

-- 
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.