]> git.sur5r.net Git - openldap/commitdiff
Real fix for FreeBSD 4.
authorKurt Zeilenga <kurt@openldap.org>
Sat, 23 Jan 1999 20:39:45 +0000 (20:39 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 23 Jan 1999 20:39:45 +0000 (20:39 +0000)
build/ltconfig

index 56fd0793e88e334ea8892503f4286fcf418043f1..440d305141b7cc49e95cb87df05d9dc206fc45fb 100755 (executable)
@@ -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'