aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"],
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"