diff --git a/libs/jpeg/patches/001-allow-ccache.patch b/libs/jpeg/patches/001-allow-ccache.patch new file mode 100644 index 000000000..0a21f210b --- /dev/null +++ b/libs/jpeg/patches/001-allow-ccache.patch @@ -0,0 +1,11 @@ +--- a/makefile.cfg ++++ b/makefile.cfg +@@ -168,7 +168,7 @@ libjpeg.a: @A2K_DEPS@ $(LIBOBJECTS) + + # with libtool: + libjpeg.la: @A2K_DEPS@ $(LIBOBJECTS) +- $(LIBTOOL) --mode=link $(CC) -o libjpeg.la $(LIBOBJECTS) \ ++ $(LIBTOOL) --mode=link "$(CC)" -o libjpeg.la $(LIBOBJECTS) \ + -rpath $(libdir) -version-info $(JPEG_LIB_VERSION) + + # sample programs: