packages/libs/jpeg/patches/001-allow-ccache.patch
jow 8d4519dbe4 [packages] jpeg: fix compilation with ccache, thanks swalker
git-svn-id: svn://svn.openwrt.org/openwrt/packages@24583 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-15 03:38:07 +00:00

12 lines
351 B
Diff

--- 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: