Mercurial > mxe-octave
annotate src/libodbc++-1-libtool.patch @ 5531:eae508c12529
Add build rule for build-octave (bug #49503).
* src/build-octave.mk: Add new build rule for build-octave which can be used for
cross-building binary packages that depend on Octave as a build tool.
* dist-files.mk: Add new file to list.
* index.html: Add new package to list.
* src/of-communications.mk, src/of-image.mk, src/of-mapping.mk,
src/of-optiminterp.mk, src/of-sparsersb.mk, src/of-statistics.mk,
src/of-windows.mk: Add optional dependency on build-octave.
* configure.ac: Add new configure switch "--disable-system-octave" that is
needed to build the build-octave package.
* Makefile.in: Add variable "USE_SYSTEM_OCTAVE". Exclude build-octave from the
default build tools and build it only if a package explicitly depends on it.
Display warning about missing native Octave version only if necessary.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Tue, 08 Sep 2020 23:04:38 +0200 |
parents | 6e44b2527dbb |
children |
rev | line source |
---|---|
2926 | 1 diff -uNr a/configure.ac b/configure.ac |
2 --- a/configure.ac 2009-08-20 17:39:08.000000000 -0400 | |
3 +++ b/configure.ac 2012-12-18 17:19:30.901179636 -0500 | |
4 @@ -53,10 +53,11 @@ | |
5 AC_PROG_CXX | |
6 AC_PROG_CXXCPP | |
7 AC_LANG_C | |
8 -AM_PROG_LIBTOOL | |
9 AC_C_LONG_LONG | |
10 AC_LANG_CPLUSPLUS | |
11 | |
12 +LT_INIT([win32-dll]) | |
13 + | |
14 AC_PROG_INSTALL | |
15 | |
16 if test "x$GXX" = "xyes" | |
17 diff -uNr a/src/Makefile.am b/src/Makefile.am | |
18 --- a/src/Makefile.am 2005-08-25 09:52:07.000000000 -0400 | |
19 +++ b/src/Makefile.am 2012-12-18 17:48:24.265430637 -0500 | |
20 @@ -37,7 +37,7 @@ | |
21 datahandler.h \ | |
22 driverinfo.h | |
23 | |
24 -ldflags=-version-info @lib_version@ | |
25 +ldflags=-no-undefined -version-info @lib_version@ | |
26 | |
27 # confusing conditionals follow | |
28 | |
29 @@ -77,6 +77,7 @@ | |
30 | |
31 libodbc___la_SOURCES=$(sources) | |
32 libodbc___la_LDFLAGS=$(ldflags) | |
33 +libodbc___la_LIBADD=-lodbc32 | |
34 | |
35 libodbc___qt_la_SOURCES=$(sources) | |
36 libodbc___qt_la_LDFLAGS=$(ldflags) |