diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 4dacfa8ee..3a83e31d2 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="#" |
@@ -1965,6 +1967,10 @@ src/scalarproduct/Makefile | |||
1965 | src/scalarproduct/scalarproduct.conf | 1967 | src/scalarproduct/scalarproduct.conf |
1966 | src/set/Makefile | 1968 | src/set/Makefile |
1967 | src/set/set.conf | 1969 | src/set/set.conf |
1970 | src/seti/Makefile | ||
1971 | src/seti/seti.conf | ||
1972 | src/setu/Makefile | ||
1973 | src/setu/setu.conf | ||
1968 | src/sq/Makefile | 1974 | src/sq/Makefile |
1969 | src/statistics/Makefile | 1975 | src/statistics/Makefile |
1970 | src/statistics/statistics.conf | 1976 | src/statistics/statistics.conf |