Added -lm to LDFLAGS

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@615 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Billy O 'Connor 2003-01-21 17:50:25 +00:00
parent a1cd7d0201
commit 5a055179f5

View File

@ -3,8 +3,22 @@
<para>Install gpm by running the following commands:</para>
<para><screen><userinput>./configure --prefix=/usr &amp;&amp;
<note><para>The LDFLAGS environment variable must be set before
configuring gpm.</para></note>
<para><screen><userinput>export LDFLAGS="-lm" &amp;&amp;
./configure --prefix=/usr &amp;&amp;
make &amp;&amp;
make install</userinput></screen></para>
</sect2>
<sect2>
<title>Command explanations</title>
<para><userinput>export LDFLAGS="-lm": </userinput>The math library
must be linked with gpm, as ceil() is used in some cursor scrolling
logic.</para>
</sect2>