summaryrefslogtreecommitdiff
path: root/package/jpeg/patches/jpeg-6b-fix-makefile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/jpeg/patches/jpeg-6b-fix-makefile.patch')
-rw-r--r--package/jpeg/patches/jpeg-6b-fix-makefile.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/jpeg/patches/jpeg-6b-fix-makefile.patch b/package/jpeg/patches/jpeg-6b-fix-makefile.patch
new file mode 100644
index 000000000..7e4c8d3ed
--- /dev/null
+++ b/package/jpeg/patches/jpeg-6b-fix-makefile.patch
@@ -0,0 +1,12 @@
+diff -ruN jpeg-6b-old/makefile.cfg jpeg-6b/makefile.cfg
+--- jpeg-6b-old/makefile.cfg 2006-11-02 12:36:36.000000000 +0100
++++ jpeg-6b/makefile.cfg 2006-11-02 12:37:09.000000000 +0100
+@@ -168,7 +168,7 @@
+
+ # 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: