[packages] jpeg: fix compilation with ccache, thanks swalker
[packages] jpeg: fix compilation with ccache, thanks swalker


git-svn-id: svn://svn.openwrt.org/openwrt/packages@24583 3c298f89-4303-0410-b956-a3cf2f4a3e73

--- /dev/null
+++ b/libs/jpeg/patches/001-allow-ccache.patch
@@ -1,1 +1,12 @@
+--- 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:
 

comments