Clone in a terminal:
Commit 1bc9020
Johan Mattsson - 2014-10-23T20:56:34+00:00
1bc9020b0345535025f61a9b781315f75d103020johan.mattsson.m@gmail.com

Add --profile posix to build arguments

Changed files (2)

Diff

diff --git a/dodo.py b/dodo.pyindex 5278891..79ff54d 100644--- a/dodo.py+++ b/dodo.py@@ -58,7 +58,8 @@ if not config.POSIXVALA:     ] else:     LIBBIRD_XML_LIBS = [-        'posix'	+        'posix',+	'posixtypes'     ]  def task_build ():@@ -96,7 +97,7 @@ libbirdxml = Vala(src='libbirdxml', build='build', library='birdxml', so_version 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) diff --git a/scripts/bavala.py b/scripts/bavala.pyindex fc48382..f844d4d 100644--- a/scripts/bavala.py+++ b/scripts/bavala.py@@ -132,7 +132,7 @@ class Vala(object):         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 @@ class Vala(object):              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]

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112