changeset 6392:f5483c9cf759

Fix ghostscript cross complie libtiff
author Masamichi Hosoda <trueroad@users.noreply.github.com>
date Thu, 19 Mar 2015 21:30:40 +0900
parents 056391936908
children a0073109b692
files gub/specs/ghostscript.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 ([