diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2010-07-16 13:09:33 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2010-07-16 13:09:33 (GMT) |
commit | 14f98d2e9777a016006baeb223a0101c56ef4dce (patch) | |
tree | 977da1595e14b9cf31f803ed351c71866e657bb9 /src/gd.mk | |
parent | 040a708d86bfea9212645a9498d5864a04832d79 (diff) | |
download | mxe-14f98d2e9777a016006baeb223a0101c56ef4dce.zip mxe-14f98d2e9777a016006baeb223a0101c56ef4dce.tar.gz mxe-14f98d2e9777a016006baeb223a0101c56ef4dce.tar.bz2 |
bugfix: support libpng-1.4 in package gd (by Tony Theodore)
Diffstat (limited to 'src/gd.mk')
-rw-r--r-- | src/gd.mk | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -24,14 +24,14 @@ define $(PKG)_BUILD touch '$(1)/config.hin' touch '$(1)/Makefile.in' $(SED) -i 's,-I@includedir@,-I@includedir@ -DNONDLL,' '$(1)/config/gdlib-config.in' - $(SED) -i 's,-lX11 ,,g' '$(1)/configure' + $(SED) -i 's,-lX11 ,,g' '$(1)/configure' + $(SED) -i 's,png12,png14,g' '$(1)/configure' cd '$(1)' && ./configure \ --host='$(TARGET)' \ --disable-shared \ --prefix='$(PREFIX)/$(TARGET)' \ --with-freetype='$(PREFIX)/$(TARGET)' \ --without-x \ - LIBPNG12_CONFIG='$(PREFIX)/$(TARGET)/bin/libpng12-config' \ LIBPNG_CONFIG='$(PREFIX)/$(TARGET)/bin/libpng-config' \ CFLAGS='-DNONDLL -DXMD_H -L$(PREFIX)/$(TARGET)/lib' \ LIBS="`$(PREFIX)/$(TARGET)/bin/xml2-config --libs`" |