sqliteodbc (0.91-3) lib-location

Summary

 Makefile.in |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

    
download this patch

Patch contents

Description: Install ODBC driver in /usr/lib/odbc and SQlite3 extensions in /usr/lib
Author: Lionel Elie Mamane <lmamane@debian.org>

Index: sqliteodbc-0.91/Makefile.in
===================================================================
--- sqliteodbc-0.91.orig/Makefile.in	2011-07-10 00:30:43.948533871 +0200
+++ sqliteodbc-0.91/Makefile.in	2011-07-10 00:44:24.365879121 +0200
@@ -48,12 +48,12 @@
 libsqlite3_mod_blobtoxy.la:	blobtoxy.lo
 		$(LIBTOOL) --mode=link $(CC) $(CFLAGS) \
 		    -o libsqlite3_mod_blobtoxy.la \
-		    blobtoxy.lo -rpath $(drvdir) -release $(VER_INFO)
+		    blobtoxy.lo -rpath $(libdir) -release $(VER_INFO)
 
 libsqlite3_mod_impexp.la:	impexp.lo
 		$(LIBTOOL) --mode=link $(CC) $(CFLAGS) \
 		    -o libsqlite3_mod_impexp.la \
-		    impexp.lo -rpath $(drvdir) -release $(VER_INFO)
+		    impexp.lo -rpath $(libdir) -release $(VER_INFO)
 
 sqliteodbc.lo:	sqliteodbc.c sqliteodbc.h
 		$(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c \
@@ -98,20 +98,20 @@
 		    libsqlite3odbc.la $(DESTDIR)$(drvdir)
 		test -z "@EXT_BLOBTOXY@" || \
 		    $(LIBTOOL) --mode=install $(INSTALL) \
-		    @EXT_BLOBTOXY@ $(DESTDIR)$(drvdir)
+		    @EXT_BLOBTOXY@ $(DESTDIR)$(libdir)
 		test -z "@EXT_IMPEXP@" || \
 		    $(LIBTOOL) --mode=install $(INSTALL) \
-		    @EXT_IMPEXP@ $(DESTDIR)$(drvdir)
+		    @EXT_IMPEXP@ $(DESTDIR)$(libdir)
 
 uninstall-3:
 		$(LIBTOOL) --mode=uninstall \
 		    $(RM) $(DESTDIR)$(drvdir)/libsqlite3odbc.la
 		test -z "@EXT_BLOBTOXY@" || \
 		    $(LIBTOOL) --mode=uninstall \
-		        $(RM) $(DESTDIR)$(drvdir)/@EXT_BLOBTOXY@
+		        $(RM) $(DESTDIR)$(libdir)/@EXT_BLOBTOXY@
 		test -z "@EXT_IMPEXP@" || \
 		    $(LIBTOOL) --mode=uninstall \
-		        $(RM) $(DESTDIR)$(drvdir)/@EXT_IMPEXP@
+		        $(RM) $(DESTDIR)$(libdir)/@EXT_IMPEXP@
 
 drvinst-3:	install-3
 		sh drvdsninst.sh SQLITE3 "SQLite3 Datasource" \