$OpenBSD$

Index: SConscript
--- SConscript.orig
+++ SConscript
@@ -224,7 +224,7 @@ arm_compute_env = env.Clone()
 version_file = arm_compute_env.Command("src/core/arm_compute_version.embed", "", action=create_version_file)
 arm_compute_env.AlwaysBuild(version_file)
 
-default_cpp_compiler = 'g++' if env['os'] not in ['android', 'macos'] else 'clang++'
+default_cpp_compiler = 'g++' if env['os'] not in ['android', 'macos', 'openbsd'] else 'clang++'
 cpp_compiler = os.environ.get('CXX', default_cpp_compiler)
 
 # Generate embed files
@@ -385,7 +385,8 @@ undefined_flag = '-Wl,-undefined,error' if 'macos' in 
 arm_compute_env.Append(LINKFLAGS=[undefined_flag])
 arm_compute_env.Append(CPPPATH =[Dir("./src/core/").path] )
 
-arm_compute_env.Append(LIBS = ['dl'])
+if env['os'] != 'openbsd':
+    arm_compute_env.Append(LIBS = ['dl'])
 
 with (open(Dir('#').path + '/filelist.json')) as fp:
     filelist = json.load(fp)
