From: Kurt Zeilenga Date: Sat, 23 Jan 1999 20:39:45 +0000 (+0000) Subject: Real fix for FreeBSD 4. X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~708 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6c0fc8b1b56b99deb0dd2561b0e83a4940a665f4;p=openldap Real fix for FreeBSD 4. --- diff --git a/build/ltconfig b/build/ltconfig index 56fd0793e8..440d305141 100755 --- a/build/ltconfig +++ b/build/ltconfig @@ -776,9 +776,13 @@ else hardcode_shlibpath_var=no ;; - # FreeBSD 3, at last, uses gcc -shared to do shared libraries. - freebsd3*) - freebsd*) + freebsd1*) + ld_shlibs=no + can_build_shared=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd* ) archive_cmds='$CC -shared -o $lib$libobjs' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes @@ -1131,7 +1135,10 @@ freebsd2*) shlibpath_var=LD_LIBRARY_PATH ;; -freebsd3*) +freebsd1*) + dynamic_linker=no + ;; + freebsd*) version_type=freebsd library_names_spec='${libname}${release}.so.$versuffix $libname.so'