From 382c83cdc557a583c406f0885c71ae2adae62598 Mon Sep 17 00:00:00 2001 From: Andrey Bondrov Date: Thu, 6 Sep 2012 22:13:37 +0000 Subject: [PATCH] Try libtool workaround from Fedora --- unixODBC.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/unixODBC.spec b/unixODBC.spec index b938853..526040f 100644 --- a/unixODBC.spec +++ b/unixODBC.spec @@ -42,6 +42,12 @@ This package contains the include files and shared libraries for development. %prep %setup -q +# Blow away the embedded libtool and replace with build system's libtool. +# (We will use the installed libtool anyway, but this makes sure they match.) +rm -rf config.guess config.sub install-sh ltmain.sh libltdl +# this hack is so we can build with either libtool 2.2 or 1.5 +libtoolize --install || libtoolize + %build autoreconf -fi %configure2_5x \