You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

80 lines
4.1 KiB

  1. *** /usr/local/share/libtool/ltconfig Wed Jul 14 14:46:28 1999
  2. --- ltconfig Thu Oct 7 01:23:18 1999
  3. ***************
  4. *** 1188,1195 ****
  5. netbsd*)
  6. if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
  7. ! archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
  8. ! archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9. else
  10. archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
  11. # can we support soname and/or expsyms with a.out? -oliva
  12. --- 1188,1195 ----
  13. netbsd*)
  14. if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
  15. ! archive_cmds='$CC -shared $compile_rpath $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
  16. ! archive_expsym_cmds='$CC -shared $compile_rpath $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  17. else
  18. archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
  19. # can we support soname and/or expsyms with a.out? -oliva
  20. ***************
  21. *** 1210,1217 ****
  22. EOF
  23. elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
  24. ! archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
  25. ! archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  26. else
  27. ld_shlibs=no
  28. fi
  29. --- 1210,1217 ----
  30. EOF
  31. elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
  32. ! archive_cmds='$CC -shared $compile_rpath $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
  33. ! archive_expsym_cmds='$CC -shared $compile_rpath $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  34. else
  35. ld_shlibs=no
  36. fi
  37. ***************
  38. *** 1226,1233 ****
  39. *)
  40. if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
  41. ! archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
  42. ! archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  43. else
  44. ld_shlibs=no
  45. fi
  46. --- 1226,1233 ----
  47. *)
  48. if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
  49. ! archive_cmds='$CC -shared $compile_rpath $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
  50. ! archive_expsym_cmds='$CC -shared $compile_rpath $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  51. else
  52. ld_shlibs=no
  53. fi
  54. ***************
  55. *** 1428,1436 ****
  56. no_undefined_flag=' -z text'
  57. # $CC -shared without GNU ld will not create a library from C++
  58. # object files and a static libstdc++, better avoid it by now
  59. ! archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linkopts'
  60. archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  61. ! $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linkopts~$rm $lib.exp'
  62. hardcode_libdir_flag_spec='-R$libdir'
  63. hardcode_shlibpath_var=no
  64. case "$host_os" in
  65. --- 1428,1436 ----
  66. no_undefined_flag=' -z text'
  67. # $CC -shared without GNU ld will not create a library from C++
  68. # object files and a static libstdc++, better avoid it by now
  69. ! archive_cmds='$LD $compile_rpath -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linkopts'
  70. archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  71. ! $LD $compile_rpath -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linkopts~$rm $lib.exp'
  72. hardcode_libdir_flag_spec='-R$libdir'
  73. hardcode_shlibpath_var=no
  74. case "$host_os" in