aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2014-02-13 20:05:42 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2014-02-13 20:05:42 +0000
commit0fe687219065f690731f57f01b3ed213c61e8901 (patch)
treefcab2227613cd07095804f0ab650b6ceffe802b7 /chapter06
parent12bed8366f247f8bd5a0f944eb75fdf804f35c55 (diff)
Disable building static flex libraries.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10466 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/flex.xml15
1 files changed, 8 insertions, 7 deletions
diff --git a/chapter06/flex.xml b/chapter06/flex.xml
index ab2984ca4..4f6cef1f4 100644
--- a/chapter06/flex.xml
+++ b/chapter06/flex.xml
@@ -47,7 +47,8 @@
<para>Prepare Flex for compilation:</para>
-<screen><userinput remap="configure">./configure --prefix=/usr \
+<screen><userinput remap="configure">./configure --prefix=/usr \
+ --disable-static \
--docdir=/usr/share/doc/flex-&flex-version;</userinput></screen>
<para>Compile the package:</para>
@@ -61,14 +62,14 @@
<para>Install the package:</para>
<screen><userinput remap="install">make install</userinput></screen>
-
+<!--
<para>There are some packages that expect to find the
<filename class="libraryfile">lex</filename> library in <filename
class="directory">/usr/lib</filename>. Create a symlink to account for
this:</para>
<screen><userinput remap="install">ln -sv libfl.a /usr/lib/libl.a</userinput></screen>
-
+-->
<para>A few programs do not know about <command>flex</command> yet and
try to run its predecessor, <command>lex</command>. To support those
programs, create a wrapper script named <filename>lex</filename> that
@@ -97,7 +98,7 @@ chmod -v 755 /usr/bin/lex</userinput></screen>
<seglistitem>
<seg>flex, flex++ (link to flex), and lex</seg>
- <seg>libfl.a and libfl_pic.a</seg>
+ <seg>libfl.so and libfl_pic.so</seg>
<seg>/usr/share/doc/flex-&flex-version;</seg>
</seglistitem>
</segmentedlist>
@@ -141,12 +142,12 @@ chmod -v 755 /usr/bin/lex</userinput></screen>
</listitem>
</varlistentry>
- <varlistentry id="libfl.a">
+ <varlistentry id="libfl.so">
<term><filename class="libraryfile">libfl.a</filename></term>
<listitem>
<para>The <filename class="libraryfile">flex</filename> library</para>
- <indexterm zone="ch-system-flex libfl.a">
- <primary sortas="c-libfl.a">libfl.a</primary>
+ <indexterm zone="ch-system-flex libfl.so">
+ <primary sortas="c-libfl.so">libfl.so</primary>
</indexterm>
</listitem>
</varlistentry>