diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index bb205220c..72309c78d 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -142,9 +142,11 @@ AS_CASE(["$host_os"], | |||
142 | UNIXONLY="#" | 142 | UNIXONLY="#" |
143 | ], | 143 | ], |
144 | [*openbsd*],[ | 144 | [*openbsd*],[ |
145 | LIBS=`echo $LIBS | sed -e "s/-ldl//"` | 145 | # We need to explicitly link libc |
146 | LDFLAGS="$LDFLAGS -Wl,-lc" | ||
147 | # We also need to enable PIC | ||
148 | CFLAGS="-fPIC $CFLAGS" | ||
146 | build_target="openbsd" | 149 | build_target="openbsd" |
147 | use_openbsd_libtool=true | ||
148 | LIBPREFIX= | 150 | LIBPREFIX= |
149 | DLLDIR=lib | 151 | DLLDIR=lib |
150 | UNIXONLY="#" | 152 | UNIXONLY="#" |