Skip to content

Commit

Permalink
*** empty log message ***
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Aug 20, 2001
1 parent 20ab016 commit 5045cd9
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
6 changes: 6 additions & 0 deletions configure.in
Expand Up @@ -62,7 +62,13 @@ case "$target" in
;;
*-*-cygwin* | *-*-mingw32*)
if test "$build" != "$target"; then # cross-compiling
# Default cross-compile location
ac_default_prefix=/usr/local/cross-tools/i386-mingw32msvc
else
# Look for the location of the tools and install there
if [ "$BUILD_PREFIX" != "" ]; then
ac_default_prefix=$BUILD_PREFIX
fi
fi
;;
esac
Expand Down
21 changes: 18 additions & 3 deletions ltconfig
Expand Up @@ -1286,6 +1286,9 @@ EOF
# dlltool doesn't understand --whole-archive et. al.
whole_archive_flag_spec=
;;
netbsd*)
whole_archive_flag_spec=
;;
*)
# ancient GNU ld didn't support --whole-archive et. al.
if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
Expand Down Expand Up @@ -1449,9 +1452,9 @@ else
*)
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linkopts'
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
if [ "`/usr/bin/file /usr/lib/libc.so.* | grep ELF`" != "" ]; then
export_dynamic_flag_spec='${wl}-E'
fi
if test "`echo __ELF__ | $CC -E - | grep __ELF__`" = "" -o "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
export_dynamic_flag_spec='${wl}-E'
fi
;;
esac
;;
Expand Down Expand Up @@ -2073,10 +2076,22 @@ netbsd*)
dynamic_linker='NetBSD ld.elf_so'
fi
shlibpath_var=LD_LIBRARY_PATH
deplibs_check_method='pass_all'
;;

openbsd*)
version_type=sunos
need_lib_prefix=no
need_version=no
file_magic_cmd=/usr/bin/file
file_magic_test_file=`echo /usr/lib/libc.so.*`
if test "`echo __ELF__ | $CC -E - | grep __ELF__`" = "" -o "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
shlibpath_overrides_runpath=no
else
deplibs_check_method='file_magic OpenBSD.* shared library'
shlibpath_overrides_runpath=yes
fi
library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
shlibpath_var=LD_LIBRARY_PATH
Expand Down

0 comments on commit 5045cd9

Please sign in to comment.