diff options
Diffstat (limited to 'packages/jpeg/jpeg-6b/libtool.patch')
-rw-r--r-- | packages/jpeg/jpeg-6b/libtool.patch | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/packages/jpeg/jpeg-6b/libtool.patch b/packages/jpeg/jpeg-6b/libtool.patch new file mode 100644 index 0000000000..c7fd858cfc --- /dev/null +++ b/packages/jpeg/jpeg-6b/libtool.patch @@ -0,0 +1,49 @@ +--- /orig-makefile.cfg 2007-03-13 18:09:05.000000000 +0200 ++++ /makefile.cfg 2007-03-13 21:42:33.000000000 +0200 +@@ -36,8 +36,10 @@ + # To link any special libraries, add the necessary -l commands here. + LDLIBS= @LIBS@ + ++ + # If using GNU libtool, LIBTOOL references it; if not, LIBTOOL is empty. + LIBTOOL = @LIBTOOL@ ++ + # $(O) expands to "lo" if using libtool, plain "o" if not. + # Similarly, $(A) expands to "la" or "a". + O = @O@ +@@ -55,7 +57,7 @@ + # miscellaneous OS-dependent stuff + SHELL= /bin/sh + # linker +-LN= @LN@ ++LN= $(LIBTOOL) --tag=CC --mode=link $(CC) + # file deletion command + RM= rm -f + # directory creation command +@@ -141,7 +143,7 @@ + + # How to compile with libtool. + @COM_LT@.c.lo: +-@COM_LT@ $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c $(srcdir)/$*.c ++@COM_LT@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(CFLAGS) -c $(srcdir)/$*.c + + # How to use ansi2knr, when not using libtool. + @COM_A2K@.c.o: +@@ -152,7 +154,7 @@ + # How to use ansi2knr AND libtool. + @COM_A2K@.c.lo: + @COM_A2K@ ./ansi2knr $(srcdir)/$*.c knr/$*.c +-@COM_A2K@ $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c knr/$*.c ++@COM_A2K@ $(LIBTOOL) --mode=compile --tag=CC $(CC) $(CFLAGS) -c knr/$*.c + @COM_A2K@ $(RM) knr/$*.c + + ansi2knr: ansi2knr.c +@@ -169,7 +171,7 @@ + + # with libtool: + libjpeg.la: @A2K_DEPS@ $(LIBOBJECTS) +- $(LIBTOOL) --mode=link $(CC) -o libjpeg.la $(LIBOBJECTS) \ ++ $(LIBTOOL) --tag=CC --mode=link $(CC) -o libjpeg.la $(LIBOBJECTS) \ + -rpath $(libdir) -version-info $(JPEG_LIB_VERSION) $(LDFLAGS) + + # sample programs: |