mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 08:14:09 -09:00
package/mupdf: drop MUPDF_PKG_CONFIG_PACKAGES
This variable might have been needed in the very distant past to help
mupdf find libraries, but mupdf's Makefile now properly uses
pkg-config to find the 5 libraries freetype2, gumbo, harfbuzz, libjpeg
and zlib, so our code has become redundant: drop it.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit f7deaa1330)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
0f8fc92755
commit
126b7ffee7
@@ -22,22 +22,12 @@ MUPDF_DEPENDENCIES = \
|
||||
xlib_libX11 \
|
||||
zlib
|
||||
|
||||
# The pkg-config name for gumbo-parser is `gumbo`.
|
||||
MUPDF_PKG_CONFIG_PACKAGES = \
|
||||
freetype2 \
|
||||
gumbo \
|
||||
harfbuzz \
|
||||
libjpeg \
|
||||
zlib
|
||||
|
||||
MUPDF_CFLAGS = \
|
||||
$(TARGET_CFLAGS) \
|
||||
`$(PKG_CONFIG_HOST_BINARY) --cflags $(MUPDF_PKG_CONFIG_PACKAGES)` \
|
||||
-fPIC # -fPIC is needed because the Makefile doesn't append it.
|
||||
|
||||
MUPDF_LDFLAGS = \
|
||||
$(TARGET_LDFLAGS) \
|
||||
`$(PKG_CONFIG_HOST_BINARY) --libs $(MUPDF_PKG_CONFIG_PACKAGES)`
|
||||
$(TARGET_LDFLAGS)
|
||||
|
||||
# mupdf doesn't use CFLAGS and LIBS but XCFLAGS and XLIBS instead.
|
||||
# with USE_SYSTEM_LIBS it will try to use system libraries instead of the bundled ones.
|
||||
|
||||
Reference in New Issue
Block a user