The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – 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
[Thu, 23 Oct 2014 20:56:34 +0000]

Updated Files

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]