1180 |
extract_expsyms_cmds= |
extract_expsyms_cmds= |
1181 |
|
|
1182 |
case $host_os in |
case $host_os in |
1183 |
cygwin* | mingw* | pw32* ) |
cygwin* | mingw* | pw32*) |
1184 |
# FIXME: the MSVC++ port hasn't been tested in a loooong time |
# FIXME: the MSVC++ port hasn't been tested in a loooong time |
1185 |
# When not using gcc, we currently assume that we are using |
# When not using gcc, we currently assume that we are using |
1186 |
# Microsoft Visual C++. |
# Microsoft Visual C++. |
1188 |
with_gnu_ld=no |
with_gnu_ld=no |
1189 |
fi |
fi |
1190 |
;; |
;; |
1191 |
|
openbsd*) |
1192 |
|
with_gnu_ld=no |
1193 |
|
;; |
1194 |
esac |
esac |
1195 |
|
|
1196 |
ld_shlibs=yes |
ld_shlibs=yes |
1594 |
;; |
;; |
1595 |
|
|
1596 |
openbsd*) |
openbsd*) |
|
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
|
hardcode_libdir_flag_spec='-R$libdir' |
|
1597 |
hardcode_direct=yes |
hardcode_direct=yes |
1598 |
hardcode_shlibpath_var=no |
hardcode_shlibpath_var=no |
1599 |
|
case "$host_os" in |
1600 |
|
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) |
1601 |
|
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
1602 |
|
hardcode_libdir_flag_spec='-R$libdir' |
1603 |
|
;; |
1604 |
|
*) |
1605 |
|
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags' |
1606 |
|
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
1607 |
|
if [ "`echo __ELF__ | $CC -E - | grep __ELF__`" = "" -o "$host_os-$host_cpu" = "openbsd2.8-powerpc" ]; then |
1608 |
|
export_dynamic_flag_spec='${wl}-E' |
1609 |
|
fi |
1610 |
|
;; |
1611 |
|
esac |
1612 |
;; |
;; |
1613 |
|
|
1614 |
os2*) |
os2*) |
2094 |
|
|
2095 |
openbsd*) |
openbsd*) |
2096 |
version_type=sunos |
version_type=sunos |
2097 |
if test "$with_gnu_ld" = yes; then |
file_magic_cmd=/usr/bin/file |
2098 |
need_lib_prefix=no |
file_magic_test_file=`echo /usr/lib/libc.so.*` |
2099 |
need_version=no |
if [ "`echo __ELF__ | $CC -E - | grep __ELF__`" = "" -o "$host_os-$host_cpu" = "openbsd2.8-powerpc" ]; then |
2100 |
|
deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' |
2101 |
|
else |
2102 |
|
deplibs_check_method='file_magic OpenBSD.* shared library' |
2103 |
fi |
fi |
2104 |
library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' |
library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' |
2105 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |