summaryrefslogtreecommitdiff
path: root/package/jpeg/patches/jpeg-6b-fix-makefile.patch
blob: 057e576c427292bf830acf80990b47b111f08569 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -ruN jpeg-6b-old/makefile.cfg jpeg-6b/makefile.cfg
--- jpeg-6b.orig/makefile.cfg	1998-03-21 20:08:57.000000000 +0100
+++ jpeg-6b/makefile.cfg	2009-06-12 17:58:24.000000000 +0200
@@ -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: