view src/libodbc++-1-libtool.patch @ 4734:80461a9e516c

override default xerbla with version from Octave * mingw-blas-1-xerbla.patch, blas.mk: Build default libxerbla lib. * mingw-lapack-1-xerbla.patch, lapack.mk: Use external libxerbla. * mingw-openblas-1-xerbla.patch, openblas.mk: Likewise. * src/qrupdate-1-fixes.patch: Likewise. * default-octave.mk: Also install libxerbla.dll as libxerbla-octave.dll.
author John W. Eaton <jwe@octave.org>
date Thu, 21 Jun 2018 01:32:10 -0400
parents 6e44b2527dbb
children
line wrap: on
line source

diff -uNr a/configure.ac b/configure.ac
--- a/configure.ac	2009-08-20 17:39:08.000000000 -0400
+++ b/configure.ac	2012-12-18 17:19:30.901179636 -0500
@@ -53,10 +53,11 @@
 AC_PROG_CXX
 AC_PROG_CXXCPP
 AC_LANG_C
-AM_PROG_LIBTOOL
 AC_C_LONG_LONG
 AC_LANG_CPLUSPLUS
 
+LT_INIT([win32-dll])
+
 AC_PROG_INSTALL
 
 if test "x$GXX" = "xyes"
diff -uNr a/src/Makefile.am b/src/Makefile.am
--- a/src/Makefile.am	2005-08-25 09:52:07.000000000 -0400
+++ b/src/Makefile.am	2012-12-18 17:48:24.265430637 -0500
@@ -37,7 +37,7 @@
 datahandler.h \
 driverinfo.h
 
-ldflags=-version-info @lib_version@
+ldflags=-no-undefined -version-info @lib_version@
 
 # confusing conditionals follow
 
@@ -77,6 +77,7 @@
 
 libodbc___la_SOURCES=$(sources)
 libodbc___la_LDFLAGS=$(ldflags)
+libodbc___la_LIBADD=-lodbc32
 
 libodbc___qt_la_SOURCES=$(sources)
 libodbc___qt_la_LDFLAGS=$(ldflags)