Fix mupdf build

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23807 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Pierre Labastie 2020-10-14 14:43:54 +00:00
parent 17facb1de1
commit 7b43b6a10c

View File

@ -80,7 +80,7 @@ can be found there, no need to change directory -->
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended">
<!--<xref linkend="freeglut"/>, -->
<!--<xref linkend="freeglut"/>, use of the bundled glut is preferred -->
<xref linkend="harfbuzz"/>,
<!-- This no-longer gets linked in with our system libs patch
<xref linkend="lcms2"/>, -->
@ -112,9 +112,9 @@ can be found there, no need to change directory -->
<para>First, fix the Makefile to link properly with the shared library:</para>
<screen><userinput>sed -i '/MU.*_EXE. :/{
s/.(MUPDF_LIB)//
s/\(.(MUPDF_LIB)\)\(.*\)$/\2 | \1/
N
s/$/ -lmupdf/
s/$/ -lmupdf -L$(OUT)/
}' Makefile</userinput></screen>