mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-04 23:47:18 +08:00
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:
parent
a1cd7d0201
commit
5a055179f5
@ -3,8 +3,22 @@
|
|||||||
|
|
||||||
<para>Install gpm by running the following commands:</para>
|
<para>Install gpm by running the following commands:</para>
|
||||||
|
|
||||||
<para><screen><userinput>./configure --prefix=/usr &&
|
<note><para>The LDFLAGS environment variable must be set before
|
||||||
|
configuring gpm.</para></note>
|
||||||
|
|
||||||
|
<para><screen><userinput>export LDFLAGS="-lm" &&
|
||||||
|
./configure --prefix=/usr &&
|
||||||
make &&
|
make &&
|
||||||
make install</userinput></screen></para>
|
make install</userinput></screen></para>
|
||||||
</sect2>
|
</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>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user