Commit 1bc9020
Add --profile posix to build arguments
Changed files (2)
Diff
@@ -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) @@ -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]