diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2007-08-09 08:41:19 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openembedded.org> | 2007-08-09 08:41:19 +0000 |
commit | 9d829ed05c295df608b4fc108eb1c628fd06fd39 (patch) | |
tree | c1b27cfe4498f8abef1a61325922906f3e6a32ff /packages/jpeg/jpeg-6b/libtool.patch | |
parent | 1434b204e16e87b7f59f074f3036d5dcbcf0116f (diff) | |
parent | 6ccac10beeaaa02a86081bd6179fd57c208ad6b1 (diff) |
merge of '76e1e69496801009ea0aa69c84f76e858978ab99'
and 'db976a98427dd6a195e2cf167e225de2d0206aea'
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: |