aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure7
1 files changed, 7 insertions, 0 deletions
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