Skip to content
Snippets Groups Projects
Commit c0528559 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Add JPEG XL support to gmake system

parent b540cd3e
Branches
Tags
No related merge requests found
Pipeline #7452 passed
...@@ -35,6 +35,20 @@ else ...@@ -35,6 +35,20 @@ else
CRYPT_LIBS += $(CRYPT_LIB) CRYPT_LIBS += $(CRYPT_LIB)
endif endif
ifndef win
ifeq ($(shell pkg-config libjxl --exists && echo YES), YES)
CFLAGS += $(shell pkg-config libjxl --cflags)
EXTRA_LIBS += $(shell pkg-config libjxl --libs)
CFLAGS += -DWITH_JPEG_XL
OBJS += $(MTOBJODIR)$(DIRSEP)libjxl$(OFILE)
ifeq ($(shell pkg-config libjxl_threads --exists && echo YES), YES)
CFLAGS += $(shell pkg-config libjxl_threads --cflags)
EXTRA_LIBS += $(shell pkg-config libjxl_threads --libs)
CFLAGS += -DWITH_JPEG_XL_THREADS
endif
endif
endif
$(MTOBJODIR)$(DIRSEP)conn$(OFILE): $(CRYPT_LIBS) $(MTOBJODIR)$(DIRSEP)conn$(OFILE): $(CRYPT_LIBS)
$(MTOBJODIR)$(DIRSEP)ssh$(OFILE): $(CRYPT_LIBS) $(MTOBJODIR)$(DIRSEP)ssh$(OFILE): $(CRYPT_LIBS)
$(MTOBJODIR)$(DIRSEP)syncterm$(OFILE): $(CRYPT_LIBS) $(CIOLIB-MT) $(MTOBJODIR)$(DIRSEP)syncterm$(OFILE): $(CRYPT_LIBS) $(CIOLIB-MT)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment