--- a/doc/src-files/libgda-ui/meson.build
+++ b/doc/src-files/libgda-ui/meson.build
@@ -146,7 +146,7 @@
 	],
 	link_with: [ libgda ],
 	link_args: [
-		'-Wl,--export-dynamic'
+		'-Wl,--export-all-symbols'
 		],
 	install: true
 	)
@@ -163,7 +163,7 @@
 	c_args: data_entries_plugins_cargs,
 	link_with: [ libgda, libgdaui ],
 	link_args: [
-		'-Wl,--export-dynamic'
+		'-Wl,--export-all-symbols'
 		],
 	install: true,
 	install_dir: plugindir
--- a/libgda/sqlite/gda-sqlite-provider.c
+++ b/libgda/sqlite/gda-sqlite-provider.c
@@ -967,7 +967,11 @@
 #ifdef HAVE_SQLITE
 	GModule *module2;
 
+#ifdef G_OS_WIN32
+	module2 = gda_sqlite_find_library ("libsqlite3-0");
+#else
 	module2 = gda_sqlite_find_library ("libsqlite3");
+#endif
 	if (module2)
 		gda_sqlite_load_symbols (module2, &s3r);
 	if (s3r == NULL) {
--- a/libgda-ui/data-entries/common-bin.c
+++ b/libgda-ui/data-entries/common-bin.c
@@ -31,6 +31,10 @@
 #include <gio/gio.h>
 #endif
 
+#ifdef G_OS_WIN32
+#include "fileapi.h"
+#endif
+
 static void
 show_and_clear_error (BinMenu *binmenu, const gchar *context, GError **error)
 {
--- a/libgda-ui/meson.build
+++ b/libgda-ui/meson.build
@@ -146,7 +146,7 @@
 	],
 	link_with: [ libgda ],
 	link_args: [
-		'-Wl,--export-dynamic'
+		'-Wl,--export-all-symbols'
 		],
 	install: true
 	)
@@ -163,7 +163,7 @@
 	c_args: data_entries_plugins_cargs,
 	link_with: [ libgda, libgdaui ],
 	link_args: [
-		'-Wl,--export-dynamic'
+		'-Wl,--export-all-symbols'
 		],
 	install: true,
 	install_dir: plugindir
--- a/providers/bdb/meson.build
+++ b/providers/bdb/meson.build
@@ -86,7 +86,7 @@
 		lbdb_cargs
 		],
 	link_args: [
-		'-Wl,--export-dynamic',
+		'-Wl,--export-all-symbols',
 		],
 	link_with: libgda,
 	install: true,
--- a/providers/ldap/meson.build
+++ b/providers/ldap/meson.build
@@ -120,7 +120,7 @@
 		],
 	c_args: libgda_ldap_provider_cargs,
 	link_args: [
-		'-Wl,--export-dynamic',
+		'-Wl,--export-all-symbols',
 		],
 	link_with: libgda,
 	install: true,
--- a/providers/mysql/meson.build
+++ b/providers/mysql/meson.build
@@ -145,7 +145,7 @@
 		],
 	c_args: mysql_args,
 	link_args: [
-		'-Wl,--export-dynamic',
+		'-Wl,--export-all-symbols',
 		],
 	link_with: libgda,
 	install: true,
--- a/providers/postgres/meson.build
+++ b/providers/postgres/meson.build
@@ -117,7 +117,7 @@
 		],
 	c_args: libgda_postgres_cargs,
 	link_args: [
-		'-Wl,--export-dynamic',
+		'-Wl,--export-all-symbols',
 		],
 	link_with: libgda,
 	install: true,
--- a/providers/skel-implementation/capi/meson.build
+++ b/providers/skel-implementation/capi/meson.build
@@ -159,7 +159,7 @@
 		],
 	c_args: libgda_capi_provider_cargs,
 	link_args: [
-		'-Wl,--export-dynamic',
+		'-Wl,--export-all-symbols',
 		],
 	link_with: libgda,
 	install: false,
--- a/providers/web/meson.build
+++ b/providers/web/meson.build
@@ -102,7 +102,7 @@
 		join_paths(gda_top_build, 'config.h'),
 		],
 	link_args: [
-		'-Wl,--export-dynamic',
+		'-Wl,--export-all-symbols',
 		],
 	link_with: [
 		libgda,
