patch-configure 967 B

12345678910111213141516171819202122
  1. $OpenBSD: patch-configure,v 1.1 2002/10/09 14:14:40 brad Exp $
  2. --- configure.orig Wed Oct 9 09:44:30 2002
  3. +++ configure Wed Oct 9 09:45:01 2002
  4. @@ -6024,7 +6024,7 @@ else
  5. hardcode_direct=yes
  6. hardcode_shlibpath_var=no
  7. if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  8. - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
  9. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  10. hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  11. export_dynamic_flag_spec='${wl}-E'
  12. else
  13. @@ -6034,7 +6034,7 @@ else
  14. hardcode_libdir_flag_spec='-R$libdir'
  15. ;;
  16. *)
  17. - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
  18. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  19. hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  20. ;;
  21. esac