From 5e7d36dd4ca41e5d3cae1e0025badbc72adfc516 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Mon, 13 May 2019 21:16:02 -0700 Subject: Add initial support for OpenBSD in configure --- configure | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'configure') diff --git a/configure b/configure index 378e2e6..1b9a010 100755 --- a/configure +++ b/configure @@ -115,6 +115,13 @@ case "$target" in "-Wno-builtin-macro-redefined", ' ;; +*-*openbsd*) + : ${DEFAULT_DYNAMIC_LINKER:=/usr/libexec/ld.so} + startfiles='"-l", ":crt0.o", "-l", ":crtbegin.o"' + endfiles='"-l", "c", "-l", ":crtend.o"' + linkflags='"-L", "/usr/lib"' + defines='' + ;; *) fail "unknown target '$target', please create config.h manually" esac -- cgit v1.2.3