[libgda/LIBGDA_4.2] Fixed compilation flags of embedded MDBTools while cross compiling for Windows
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda/LIBGDA_4.2] Fixed compilation flags of embedded MDBTools while cross compiling for Windows
- Date: Tue, 7 Jun 2011 20:44:19 +0000 (UTC)
commit eea22d0c73c17cff1697c3b91b17774b557c6f0d
Author: Vivien Malerba <malerba gnome-db org>
Date: Tue Jun 7 22:42:29 2011 +0200
Fixed compilation flags of embedded MDBTools while cross compiling for Windows
providers/mdb/Makefile.am | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/providers/mdb/Makefile.am b/providers/mdb/Makefile.am
index b5bcfdb..94296c8 100644
--- a/providers/mdb/Makefile.am
+++ b/providers/mdb/Makefile.am
@@ -3,15 +3,16 @@ provider_LTLIBRARIES = libgda-mdb.la
if MDBEMBEDDED
SUBDIRS = libmdb-src
-extra_mdb_cflags = -I$(srcdir)/libmdb-src/include
-extra_mdb_ldflags = libmdb-src/libmdb.la
if CROSS_COMPILING
+iconv_ldflags = -liconv
else
if PLATFORM_WIN32
-extra_mdb_ldflags = -liconv libmdb-src/libmdb.la
+iconv_ldflags = -liconv
endif
endif
-else
+extra_mdb_cflags = -I$(srcdir)/libmdb-src/include
+extra_mdb_ldflags = $(iconv_ldflags) libmdb-src/libmdb.la
+else # not MDBEMBEDDED
extra_mdb_cflags = $(MDB_CFLAGS)
extra_mdb_ldflags = $(MDB_LIBS)
endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]