The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

Add --profile posix to build arguments

These changes was commited to the Birdfont repository Thu, 23 Oct 2014 20:56:34 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
author Johan Mattsson <johan.mattsson.m@gmail.com>
Thu, 23 Oct 2014 20:56:34 +0000 (22:56 +0200)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Thu, 23 Oct 2014 20:56:34 +0000 (22:56 +0200)
commit 1bc9020b0345535025f61a9b781315f75d103020
tree f4422d2f80329c0d0b7357b48c310801f82dfa2c
parent a2a84e9365c99c746de96d2fb00cf1881ece8600
Add --profile posix to build arguments

dodo.py
scripts/bavala.py
diff --git a/dodo.py b/dodo.py
--- a/dodo.py +++ b/dodo.py @@ -58,7 +58,8 @@ ] else: LIBBIRD_XML_LIBS = [ - 'posix' + 'posix', + 'posixtypes' ] def task_build (): @@ -96,7 +97,7 @@ def task_libbirdxml(): if config.POSIXVALA: - yield libbirdxml.gen_c(valac_options + ['--nostdpkg']) + yield libbirdxml.gen_c(valac_options + ['--profile posix']) else: yield libbirdxml.gen_c(valac_options)
--- a/scripts/bavala.py +++ b/scripts/bavala.py @@ -132,7 +132,7 @@ def compile_cmd(conf, opts, libs, pos): flags = [] for l in libs: - if not l == "posix": + if not l == "posix" and not l == "posixtypes": process = subprocess.Popen ('pkg-config --cflags ' + l, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) cflags = process.stdout.readline() process.communicate()[0] @@ -167,7 +167,7 @@ flags = [] for l in libs: - if not l == "posix": + if not l == "posix" and not l == "posixtypes": process = subprocess.Popen ('pkg-config --cflags ' + l, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) cflags = process.stdout.readline() process.communicate()[0]