# HG changeset patch # User Masamichi Hosoda # Date 1426768240 -32400 # Node ID f5483c9cf759bc9b85e1e1c859df82d411369444 # Parent 056391936908dc6758f5ace4a42757edaa288a4f Fix ghostscript cross complie libtiff diff -r 056391936908 -r f5483c9cf759 gub/specs/ghostscript.py --- a/gub/specs/ghostscript.py Thu Mar 19 20:21:52 2015 +0900 +++ b/gub/specs/ghostscript.py Thu Mar 19 21:30:40 2015 +0900 @@ -170,7 +170,9 @@ def configure (self): target.AutoBuild.configure (self) self.makefile_fixup ('%(builddir)s/Makefile') - self.file_sub ([('^(EXTRALIBS *=)', r'\1 -lfreetype ')], + self.file_sub ([('^(EXTRALIBS *=)', r'\1 -lfreetype '), + ('^(AUXEXTRALIBS *=.*)(-ltiff )', r'\1'), + ('^(AUXEXTRALIBS *=.*)(-L%(system_prefix)s/lib )', r'\1')], '%(builddir)s/Makefile') def makefile_fixup (self, file): self.file_sub ([