Mercurial > gub
changeset 23:7ed596939bfc
fontconfig mingw switch for configure
author | hanwen <hanwen@xs4all.nl> |
---|---|
date | Fri, 25 Nov 2005 14:39:08 +0100 |
parents | fe03d4a5a3ba |
children | 2020ae1f1b84 |
files | specs/framework.py |
diffstat | 1 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/specs/framework.py Fri Nov 25 13:51:42 2005 +0100 +++ b/specs/framework.py Fri Nov 25 14:39:08 2005 +0100 @@ -45,11 +45,13 @@ class Fontconfig (gub.Target_package): def configure_command (self): - return gub.Target_package.configure_command (self) + ''' ---with-default-fonts=@WINDIR@\fonts\ ---with-add-fonts=@INSTDIR@\usr\share\gs\fonts -''' + cmd = gub.Target_package.configure_command (self) + if self.settings.platform == 'mingw': + cmd += '--with-default-fonts=@WINDIR@\\fonts\\ --with-add-fonts=@INSTDIR@\\usr\\share\\gs\\fonts' + + return cmd + def configure (self): self.system (''' rm -f %(srcdir)s/builds/unix/{unix-def.mk,unix-cc.mk,ftconfig.h,freetype-config,freetype2.pc,config.status,config.log}