From: Andrea Zagli <a.zagli@comune.scandicci.fi.it>
Date: Tue, 28 Jan 2014 15:56:42 +0000 (+0100)
Subject: Under win glade search module file without version.
X-Git-Tag: v.gtk2~1
X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=45e310a59e6bf905c6d114951417abb040d8cc6c;p=libgtkdateentry

Under win glade search module file without version.
---

diff --git a/glade/Makefile.am b/glade/Makefile.am
index 3804f1e..c925905 100644
--- a/glade/Makefile.am
+++ b/glade/Makefile.am
@@ -10,15 +10,17 @@ EXTRA_DIST = $(gladecatalogs_DATA)
 
 if PLATFORM_WIN32
 libmodulesext = -0.dll
+libmodulesextglade = .dll
 libmodulesdir = $(bindir)
 else
 libmodulesext = .so
+libmodulesextglade = $(libmodulesext)
 libmodulesdir = $(libdir)
 endif
 
 install-exec-hook:
 	cd $(glademodulesdir) && \
-	ln -s -f $(libmodulesdir)/libgtkdateentry$(libmodulesext) .
+	ln -s -f $(libmodulesdir)/libgtkdateentry$(libmodulesext) libgtkdateentry$(libmodulesextglade)
 
 uninstall-hook:
 	rm -f $(glademodulesdir)/libgtkdateentry$(libmodulesext)