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

Andrea Zagli <[email protected]>
Newsgroups gmane.comp.gnome.db
Message-ID <[email protected]>
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

_______________________________________________
gnome-db-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-db-list
mdb.patch (text/plain, 633 B)
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)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.