From 7024b19ab140700d6e9f23b2773d24f6673e5e06 Mon Sep 17 00:00:00 2001 From: Alastair Poole Date: Sun, 26 May 2019 23:59:56 +0000 Subject: [PATCH] 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 Differential Revision: https://phab.enlightenment.org/D9028 --- meson.build | 2 +- src/lib/elementary/config_embed | 2 +- src/tests/elementary/spec/generator.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/meson.build b/meson.build index bfe54aa274..05eb78bcfe 100644 --- a/meson.build +++ b/meson.build @@ -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'] diff --git a/src/lib/elementary/config_embed b/src/lib/elementary/config_embed index 2382e0e33f..e515ca35f8 100755 --- a/src/lib/elementary/config_embed +++ b/src/lib/elementary/config_embed @@ -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 diff --git a/src/tests/elementary/spec/generator.py b/src/tests/elementary/spec/generator.py index 734c1ccca3..15042d3afd 100755 --- a/src/tests/elementary/spec/generator.py +++ b/src/tests/elementary/spec/generator.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python fixture_gen_template = """ static void