#14110: mupdf-1.18.0
-------------------------+-----------------------
 Reporter:  bdubbs       |       Owner:  bdubbs
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  10.1
Component:  BOOK         |     Version:  SVN
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+-----------------------

Comment (by xry111):

 Now the patch can't be applied, and USE_SYSTEM_LIBS breaks the build.

 My build is done by:

 1. apply a patch

 {{{
 diff --color -Naur mupdf-1.18.0-source/Makefile mupdf-1.18.0-source-
 fixed/Makefile
 --- mupdf-1.18.0-source/Makefile        2020-10-07 18:35:03.000000000
 +0800
 +++ mupdf-1.18.0-source-fixed/Makefile  2020-10-10 18:30:23.052257972
 +0800
 @@ -213,6 +213,7 @@
  MUPDF_LIB = $(OUT)/libmupdf.$(SO)

  $(MUPDF_LIB) : $(MUPDF_OBJ) $(THIRD_OBJ) $(THREAD_OBJ) $(PKCS7_OBJ)
 +       $(LINK_CMD) -shared -Wl,-soname -Wl,libmupdf.so -Wl,--no-undefined
 $(THREADING_LIBS) $(LIBCRYPTO_LIBS) $(THIRD_LIBS)
  else
  MUPDF_LIB = $(OUT)/libmupdf.a
  THIRD_LIB = $(OUT)/libmupdf-third.a
 }}}

 2. build with

 {{{
 make shared=yes USE_SYSTEM_{HARFBUZZ,LIBJPEG,OPENJPEG,ZLIB,GLUT,CURL}=yes
 }}}

 It would only produce one shared library (`libmupdf.so`), which contains
 the content of all `libmupdf*.a` archives.

--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/14110#comment:2>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to