From 6c0fc8b1b56b99deb0dd2561b0e83a4940a665f4 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sat, 23 Jan 1999 20:39:45 +0000 Subject: [PATCH] Real fix for FreeBSD 4. --- build/ltconfig | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) 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' -- 2.39.5