build: Fix on OpenBSD.

This adds support for OpenBSD with meson build
system. Also use better paths. This resolves
further issues when building EFL.`

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D9028
This commit is contained in:
Alastair Poole 2019-05-26 23:59:56 +00:00 committed by Marcel Hollerbach
parent 48c53841a4
commit 7024b19ab1
3 changed files with 3 additions and 3 deletions

View File

@ -46,7 +46,7 @@ endif
windows = ['windows', 'cygwin']
#bsd for meson 0.46 and 0.47
bsd = ['bsd', 'freebsd', 'dragonfly', 'netbsd']
bsd = ['bsd', 'freebsd', 'dragonfly', 'netbsd', 'openbsd']
linux = ['linux']
osx = ['darwin']

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
echo "static const char *embedded_config = \"\"" > $2
sed -e 's/"/\\"/g; s/$/\"/; s/^/\"/' $1 >> $2
echo "\"\";" >> $2

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
fixture_gen_template = """
static void