diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2022-04-04 23:26:34 +0200 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-04-04 23:26:34 +0200 |
commit | 89332e84db275272b9ecdf8a18c28e001d772358 (patch) | |
tree | d2158ad53d9795e2eef651caedf078f98c3a7e79 | |
parent | a15b424cb5bbc7411d30d2e31420375b4167ea9e (diff) | |
download | gnunet-89332e84db275272b9ecdf8a18c28e001d772358.tar.gz gnunet-89332e84db275272b9ecdf8a18c28e001d772358.zip |
-fix
-rw-r--r-- | configure.ac | 3 |
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"], | |||
135 | UNIXONLY="#" | 135 | UNIXONLY="#" |
136 | ], | 136 | ], |
137 | [*openbsd*], | 137 | [*openbsd*], |
138 | [# libc needs to be linked explicitly | 138 | [AC_DEFINE([OPENBSD],[1],[Define to 1 if this is an OpenBSD system]) |
139 | # libc needs to be linked explicitly | ||
139 | LDFLAGS="$OLD_LDFLAGS -lc" | 140 | LDFLAGS="$OLD_LDFLAGS -lc" |
140 | # and PIC has to be enabled | 141 | # and PIC has to be enabled |
141 | CFLAGS="-fPIC $CFLAGS" | 142 | CFLAGS="-fPIC $CFLAGS" |