openbsd-ports/converters/xlhtml/patches/patch-ltconfig
avsm 136372fb0c initial import of xlhtml-0.2.9.8
--
xlHtml is an Excel 95 and later file converter. Its HTML output can
be used as a Netscape Plugin to let you view xls e-mail attachments.
It can also extract regions of a spreadsheet and convert the
spreadsheet to pure text rather than html.
2001-07-13 15:16:17 +00:00

39 lines
1.0 KiB
Plaintext

$OpenBSD: patch-ltconfig,v 1.1.1.1 2001/07/13 15:16:21 avsm Exp $
--- ltconfig.orig Fri Jul 13 15:58:55 2001
+++ ltconfig Fri Jul 13 16:00:02 2001
@@ -1031,6 +1031,10 @@ freebsd2* | sunos4*)
exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
;;
+openbsd*)
+ with_gnu_ld=no
+ ;;
+
esac
ld_shlibs=yes
@@ -1262,10 +1266,21 @@ else
;;
openbsd*)
- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linkopts'
- hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
hardcode_shlibpath_var=no
+ case "$host_os" in
+ openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linkopts'
+ hardcode_libdir_flag_spec='-R$libdir'
+ ;;
+ *)
+ 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
+ ;;
+ esac
;;
os2*)