Package: unixodbc
Version: 2.2.11-13
Severity: important
Tags: patch
Hi,
unixodbc currently FTBFS on at least hurd-i386 and kfreebsd-i386 just
because it doesn't use --version-script on these archs. Here is a patch.
Samuel
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1,
'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages unixodbc depends on:
ii libc6 2.3.6.ds1-8 GNU C Library: Shared libraries
ii libltdl3 1.5.22-4 A system independent dlopen wrappe
ii libreadline5 5.2-2 GNU readline and history libraries
ii odbcinst1debian1 2.2.11-13 Support library and helper program
unixodbc recommends no packages.
-- no debconf information
--- configure.orig 2007-01-16 10:20:18.000000000 +0100
+++ configure 2007-01-16 10:21:27.000000000 +0100
@@ -7499,7 +7499,7 @@
hardcode_shlibpath_var=no
;;
- linux*)
+ linux*|k*bsd*-gnu|gnu*)
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags
${wl}-soname $wl$soname -o $lib'
archive_cmds="$tmp_archive_cmds"
@@ -14376,7 +14376,7 @@
hardcode_shlibpath_var_F77=no
;;
- linux*)
+ linux*|k*bsd*-gnu|gnu*)
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags
${wl}-soname $wl$soname -o $lib'
archive_cmds_F77="$tmp_archive_cmds"
@@ -16714,7 +16714,7 @@
hardcode_shlibpath_var_GCJ=no
;;
- linux*)
+ linux*|k*bsd*-gnu|gnu*)
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags
${wl}-soname $wl$soname -o $lib'
archive_cmds_GCJ="$tmp_archive_cmds"