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 90f0a484671098f9a94ce66b8f8af94e106ae106)
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 d9c2b374ec
commit cc63dd68dd

View File

@ -22,17 +22,11 @@ MUPDF_DEPENDENCIES = \
xlib_libX11 \ xlib_libX11 \
zlib zlib
MUPDF_CFLAGS = \
$(TARGET_CFLAGS)
MUPDF_LDFLAGS = \
$(TARGET_LDFLAGS)
# mupdf doesn't use CFLAGS and LIBS but XCFLAGS and XLIBS instead. # 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. # 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) \ MUPDF_MAKE_ENV = $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) \
XCFLAGS="$(MUPDF_CFLAGS)" \ XCFLAGS="$(TARGET_CFLAGS)" \
XLIBS="$(MUPDF_LDFLAGS)" \ XLIBS="$(TARGET_LDFLAGS)" \
USE_SYSTEM_LIBS=yes USE_SYSTEM_LIBS=yes
MUPDF_MAKE_OPTS = \ MUPDF_MAKE_OPTS = \