mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-25 07:42:13 +08:00
Add a sed to SConstruct in serf (upstream patch) to correct a wrong generation
of the .pc file git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@12521 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
35b7221ffc
commit
5bff14acbb
@ -95,9 +95,10 @@
|
||||
commands:
|
||||
</para>
|
||||
|
||||
<screen><userinput>sed -i "/Append/s:RPATH=libdir,::" SConstruct &&
|
||||
sed -i "/Default/s:lib_static,::" SConstruct &&
|
||||
sed -i "/Alias/s:install_static,::" SConstruct &&
|
||||
<screen><userinput>sed -i "/Append/s:RPATH=libdir,::" SConstruct &&
|
||||
sed -i "/Default/s:lib_static,::" SConstruct &&
|
||||
sed -i "/Alias/s:install_static,::" SConstruct &&
|
||||
sed -i '/get.*_LIBS/s:)):, '\'\''&:' SConstruct &&
|
||||
scons PREFIX=/usr</userinput></screen>
|
||||
|
||||
<para>
|
||||
@ -116,9 +117,10 @@ scons PREFIX=/usr</userinput></screen>
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<para>
|
||||
<command>sed -i "..."</command>: First command removes the runtime path
|
||||
from a shared library and the last two commands disable building and
|
||||
installing of the static library.
|
||||
<command>sed -i "..."</command>: The first command removes the runtime
|
||||
path from a shared library, the next two commands disable building and
|
||||
installing of the static library, and the last one corrects a bug
|
||||
in the generated pkg-config file.
|
||||
</para>
|
||||
|
||||
</sect2>
|
||||
|
Loading…
Reference in New Issue
Block a user