[libgda/gtk3] Make Windows import libs reference the correct DLL name



commit 1db3a0dbbe642aaa418749783096d130d3862b00
Author: Vivien Malerba <malerba gnome-db org>
Date:   Wed Dec 8 21:46:22 2010 +0100

    Make Windows import libs reference the correct DLL name

 libgda-report/Makefile.am |    2 +-
 libgda-ui/Makefile.am     |    2 +-
 libgda/Makefile.am        |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libgda-report/Makefile.am b/libgda-report/Makefile.am
index d7b4a1d..f6d080d 100644
--- a/libgda-report/Makefile.am
+++ b/libgda-report/Makefile.am
@@ -33,7 +33,7 @@ libgda-report.def: libgda-report.symbols
 	(echo -e EXPORTS; $(CPP) -P - <$(srcdir)/libgda-report.symbols | sed -e '/^$$/d' -e 's/^/ /' -e 's/G_GNUC_[^ ]*//g' | sort) > libgda-report.def.tmp && mv libgda-report.def.tmp libgda-report.def
 
 libgda-report-$(GDA_ABI_VERSION).lib: libgda-report.def
-	$(DLLTOOL) --dllname libgda-report-$(GDA_ABI_VERSION)-$(GDA_CURRENT).dll --def libgda-report.def --output-lib libgda-report-$(GDA_ABI_VERSION).lib
+	$(DLLTOOL) --dllname libgda-report-$(GDA_ABI_VERSION)-$(GDA_ABI_MAJOR_VERSION).dll --def libgda-report.def --output-lib libgda-report-$(GDA_ABI_VERSION).lib
 
 install-data-local: install-def-files
 uninstall-local: uninstall-def-files
diff --git a/libgda-ui/Makefile.am b/libgda-ui/Makefile.am
index 5dbb71a..295e798 100644
--- a/libgda-ui/Makefile.am
+++ b/libgda-ui/Makefile.am
@@ -127,7 +127,7 @@ libgda-ui.def: libgda-ui.symbols
 	(echo -e EXPORTS; $(CPP) -P - <$(srcdir)/libgda-ui.symbols | sed -e '/^$$/d' -e 's/^/ /' -e 's/G_GNUC_[^ ]*//g' | sort) > libgda-ui.def.tmp && mv libgda-ui.def.tmp libgda-ui.def
 
 libgda-ui-$(GDA_ABI_VERSION).lib: libgda-ui.def
-	$(DLLTOOL) --dllname libgda-ui-$(GDA_ABI_VERSION)-$(GDA_CURRENT).dll --def libgda-ui.def --output-lib libgda-ui-$(GDA_ABI_VERSION).lib
+	$(DLLTOOL) --dllname libgda-ui-$(GDA_ABI_VERSION)-$(GDA_ABI_MAJOR_VERSION).dll --def libgda-ui.def --output-lib libgda-ui-$(GDA_ABI_VERSION).lib
 
 install-data-local: install-def-files
 uninstall-local: uninstall-def-files
diff --git a/libgda/Makefile.am b/libgda/Makefile.am
index 2d5b25b..a826c56 100644
--- a/libgda/Makefile.am
+++ b/libgda/Makefile.am
@@ -238,7 +238,7 @@ libgda.def: libgda.symbols
 	(echo -e EXPORTS; $(CPP) -P $(DEF_FLAGS) - <$(srcdir)/libgda.symbols | sed -e '/^$$/d' -e 's/^/ /' -e 's/G_GNUC_[^ ]*//g' | sort) > libgda.def.tmp && mv libgda.def.tmp libgda.def
 
 libgda-$(GDA_ABI_VERSION).lib: libgda.def
-	$(DLLTOOL) --dllname libgda-$(GDA_ABI_VERSION)-$(GDA_CURRENT).dll --def libgda.def --output-lib libgda-$(GDA_ABI_VERSION).lib
+	$(DLLTOOL) --dllname libgda-$(GDA_ABI_VERSION)-$(GDA_ABI_MAJOR_VERSION).dll --def libgda.def --output-lib libgda-$(GDA_ABI_VERSION).lib
 
 install-data-local: install-def-files
 uninstall-local: uninstall-def-files



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