package/mupdf: drop MUPDF_CFLAGS/MUPDF_LDFLAGS

Now that MUPDF_CFLAGS and MUPDF_LDFLAGS are just TARGET_CFLAGS and
TARGET_LDFLAGS, drop them.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 90f0a48467)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Thomas Petazzoni
2024-07-13 18:29:06 +02:00
committed by Peter Korsgaard
parent ef7cf58714
commit aeced848bd

View File

@@ -22,17 +22,11 @@ MUPDF_DEPENDENCIES = \
xlib_libX11 \
zlib
MUPDF_CFLAGS = \
$(TARGET_CFLAGS)
MUPDF_LDFLAGS = \
$(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.
MUPDF_MAKE_ENV = $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) \
XCFLAGS="$(MUPDF_CFLAGS)" \
XLIBS="$(MUPDF_LDFLAGS)" \
XCFLAGS="$(TARGET_CFLAGS)" \
XLIBS="$(TARGET_LDFLAGS)" \
USE_SYSTEM_LIBS=yes
MUPDF_MAKE_OPTS = \