summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2022-04-04 23:26:34 +0200
committerMartin Schanzenbach <schanzen@gnunet.org>2022-04-04 23:26:34 +0200
commit89332e84db275272b9ecdf8a18c28e001d772358 (patch)
treed2158ad53d9795e2eef651caedf078f98c3a7e79
parenta15b424cb5bbc7411d30d2e31420375b4167ea9e (diff)
-fix
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 8f74d5749..e6c98188e 100644
--- 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"