mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-26 08:42:12 +08:00
libxml2: Note how to remove unneeded references to ICU libraries for --with-icu
Or too many packages can link to ICU libraries w/o any real necessity and cause upgrading ICU very nasty.
This commit is contained in:
parent
31120d7c05
commit
f6061807d1
@ -180,6 +180,20 @@ make</userinput></screen>
|
|||||||
<xref linkend="icu"/>, for better unicode support.
|
<xref linkend="icu"/>, for better unicode support.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
<note>
|
||||||
|
<para>
|
||||||
|
If the <option>--with-icu</option> switch is used, it's recommended
|
||||||
|
to remove unneeded references to the ICU libraries to prevent many
|
||||||
|
packages using libxml2 from unnecessarily directly linked to the ICU
|
||||||
|
libraries, so you won't need to rebuild too many packages when you
|
||||||
|
upgrade ICU to a new major version. After installing libxml2, as
|
||||||
|
the &root; user, issue:
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<screen role="nodump"><userinput>rm -vf /usr/lib/libxml2.la &&
|
||||||
|
sed '/libs=/s/xml2.*/xml2"/' -i /usr/bin/xml2-config</userinput></screen>
|
||||||
|
</note>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 role="content">
|
<sect2 role="content">
|
||||||
|
Loading…
Reference in New Issue
Block a user