Commit c776101f authored by Sam Lantinga's avatar Sam Lantinga

*** empty log message ***

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40261
parent 69fa9c0a
...@@ -501,7 +501,14 @@ fi ...@@ -501,7 +501,14 @@ fi
if test -n "$RANLIB"; then if test -n "$RANLIB"; then
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
case "$host_os" in
openbsd*)
old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
;;
*)
old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
;;
esac
fi fi
# Set sane defaults for `DLLTOOL', `OBJDUMP', and `AS', used on cygwin. # Set sane defaults for `DLLTOOL', `OBJDUMP', and `AS', used on cygwin.
...@@ -1444,6 +1451,12 @@ else ...@@ -1444,6 +1451,12 @@ else
openbsd*) openbsd*)
hardcode_direct=yes hardcode_direct=yes
hardcode_shlibpath_var=no hardcode_shlibpath_var=no
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.
8-powerpc"; then
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linkopts'
hardcode_libdir_flag_spec='${wl}-R$libdir'
export_dynamic_flag_spec='${wl}-E'
else
case "$host_os" in case "$host_os" in
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linkopts' archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linkopts'
...@@ -1451,12 +1464,10 @@ else ...@@ -1451,12 +1464,10 @@ else
;; ;;
*) *)
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linkopts' archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linkopts'
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' hardcode_libdir_flag_spec='${wl}-R$libdir'
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 esac
fi
;; ;;
os2*) os2*)
...@@ -2083,11 +2094,20 @@ openbsd*) ...@@ -2083,11 +2094,20 @@ openbsd*)
version_type=sunos version_type=sunos
need_lib_prefix=no need_lib_prefix=no
need_version=no need_version=no
sys_lib_search_path_spec="/usr/lib"
sys_lib_dlsearch_path_spec="/usr/lib /usr/local/lib"
file_magic_cmd=/usr/bin/file file_magic_cmd=/usr/bin/file
file_magic_test_file=`echo /usr/lib/libc.so.*` 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 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' deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
case "$host_os" in
openbsd2.[89] | openbsd2.[89].*)
shlibpath_overrides_runpath=no shlibpath_overrides_runpath=no
;;
*)
shlibpath_overrides_runpath=yes
;;
esac
else else
deplibs_check_method='file_magic OpenBSD.* shared library' deplibs_check_method='file_magic OpenBSD.* shared library'
shlibpath_overrides_runpath=yes shlibpath_overrides_runpath=yes
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment