Re: [gnome-db] compile mdb provider from git under windows



Il giorno dom 27 feb 2011 19:17:10 CET, Vivien Malerba ha scritto:

Hi!

Can you check that compilation works correctly now natively on Windows, with
the commit
http://git.gnome.org/browse/libgda/commit/?id=190b4b5b6065d1cb1fd2ff7aa2f12db879bf8f67
?

it doesn't work

patch attached... but i didn't try it on other environment
diff --git a/providers/mdb/Makefile.am b/providers/mdb/Makefile.am
index b5bcfdb..f7335b1 100644
--- a/providers/mdb/Makefile.am
+++ b/providers/mdb/Makefile.am
@@ -4,13 +4,13 @@ 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
 else
 if PLATFORM_WIN32
-extra_mdb_ldflags = -liconv libmdb-src/libmdb.la
+win32_extra_mdb_ldflags = -liconv
 endif
 endif
+extra_mdb_ldflags = libmdb-src/libmdb.la $(win32_extra_mdb_ldflags)
 else
 extra_mdb_cflags = $(MDB_CFLAGS)
 extra_mdb_ldflags = $(MDB_LIBS)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]