mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-04 07:17:15 +08:00
NSPR installs its own pkgconfig file now so we don't need to create one
Thanks to Armin for the heads up. Sorry it took me so long to get round to it git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10375 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
6a79dc7242
commit
2ccd0914a3
@ -99,19 +99,7 @@ make</userinput></screen>
|
|||||||
Now, as the <systemitem class="username">root</systemitem> user:
|
Now, as the <systemitem class="username">root</systemitem> user:
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<screen role="root"><userinput>make install &&
|
<screen role="root"><userinput>make install</userinput></screen>
|
||||||
cat > /usr/lib/pkgconfig/nspr.pc << "HERE_DOC"
|
|
||||||
prefix=/usr
|
|
||||||
exec_prefix=${prefix}
|
|
||||||
libdir=${exec_prefix}/lib
|
|
||||||
includedir=${prefix}/include/nspr
|
|
||||||
|
|
||||||
Name: NSPR
|
|
||||||
Description: The Netscape Portable Runtime
|
|
||||||
Version: &nspr-version;.0
|
|
||||||
Libs: -L${libdir} -lplds4 -lplc4 -lnspr4 -lpthread
|
|
||||||
Cflags: -I${includedir}
|
|
||||||
HERE_DOC</userinput></screen>
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 role="commands">
|
<sect2 role="commands">
|
||||||
@ -147,12 +135,6 @@ HERE_DOC</userinput></screen>
|
|||||||
<command>sed -i 's#$(LIBRARY) ##' config/rules.mk</command>: This disables
|
<command>sed -i 's#$(LIBRARY) ##' config/rules.mk</command>: This disables
|
||||||
installing the static libraries.
|
installing the static libraries.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
|
||||||
<command>cat > /usr/lib/pkgconfig/nspr.pc ...</command>: This creates a
|
|
||||||
pkg-config file to help other programs find the nspr libraries.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 role="content">
|
<sect2 role="content">
|
||||||
|
Loading…
Reference in New Issue
Block a user