$OpenBSD: patch-aclocal_m4,v 1.1 2002/04/19 16:34:16 wilfried Exp $ --- aclocal.m4.orig Tue Apr 9 14:30:17 2002 +++ aclocal.m4 Fri Apr 19 16:46:52 2002 @@ -1730,7 +1730,7 @@ else ;; openbsd*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + archive_cmds='$CC -shared -fPIC -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no