commit 89332e84db275272b9ecdf8a18c28e001d772358
parent a15b424cb5bbc7411d30d2e31420375b4167ea9e
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date: Mon, 4 Apr 2022 23:26:34 +0200
-fix
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
@@ -135,7 +135,8 @@ AS_CASE(["$host_os"],
UNIXONLY="#"
],
[*openbsd*],
- [# libc needs to be linked explicitly
+ [AC_DEFINE([OPENBSD],[1],[Define to 1 if this is an OpenBSD system])
+ # libc needs to be linked explicitly
LDFLAGS="$OLD_LDFLAGS -lc"
# and PIC has to be enabled
CFLAGS="-fPIC $CFLAGS"