[packages] jpeg: fix compilation with ccache, thanks swalker
authorJo-Philipp Wich <[email protected]>
Wed, 15 Dec 2010 03:38:07 +0000 (03:38 +0000)
committerJo-Philipp Wich <[email protected]>
Wed, 15 Dec 2010 03:38:07 +0000 (03:38 +0000)
SVN-Revision: 24583

libs/jpeg/patches/001-allow-ccache.patch [new file with mode: 0644]

diff --git a/libs/jpeg/patches/001-allow-ccache.patch b/libs/jpeg/patches/001-allow-ccache.patch
new file mode 100644 (file)
index 0000000..0a21f21
--- /dev/null
@@ -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: