Mercurial > gub
changeset 6381:cbb925200a8a
Fix mingw::ghostscript
unix-aux
author | Masamichi Hosoda <trueroad@users.noreply.github.com> |
---|---|
date | Sat, 14 Mar 2015 10:05:45 +0900 |
parents | 827af33f6d0b |
children | fd268ef0c4bb |
files | gub/specs/ghostscript.py |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gub/specs/ghostscript.py Sat Mar 14 10:00:18 2015 +0900 +++ b/gub/specs/ghostscript.py Sat Mar 14 10:05:45 2015 +0900 @@ -248,6 +248,9 @@ compile_flags = Ghostscript.compile_flags.replace ("XLDFLAGS='", "XLDFLAGS='-mwindows ") def configure (self): Ghostscript.configure (self) + if 'linux' in self.settings.build_architecture: + self.file_sub ([('^(AUXEXTRALIBS *=.*)(-liconv )', r'\1')], + '%(builddir)s/Makefile') if shared: # Shared is a configure cross-compile disaster area, # it uses BUILD's uname to determine HOST libraries. self.file_sub ([('^(EXTRALIBS *=.*)(-ldl )', r'\1'),