From: Andrea Zagli Date: Mon, 28 Nov 2011 08:31:31 +0000 (+0100) Subject: Bugfix on setting library extension under win32. X-Git-Tag: v.gtk2~3 X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=a8edffae1f2465c35d0b05ed7fca6236bc4b7ddf;p=libgtkdateentry Bugfix on setting library extension under win32. --- diff --git a/glade/Makefile.am b/glade/Makefile.am index adec8b7..3975a55 100644 --- a/glade/Makefile.am +++ b/glade/Makefile.am @@ -8,9 +8,17 @@ catalogs_DATA = gtkdateentry.xml EXTRA_DIST = $(catalogs_DATA) +if PLATFORM_WIN32 +libmodulesext = -0.dll +libmodulesdir = $(bindir) +else +libmodulesext = .so +libmodulesdir = $(libdir) +endif + install-exec-hook: - cd $(moduledir) && \ - ln -s -f $(libdir)/libgtkdateentry.so . + cd $(glademodulesdir) && \ + ln -s -f $(libmodulesdir)/libgtkdateentry$(libmodulesext) . uninstall-hook: - rm -f $(moduledir)/libgtkdateentry.so + rm -f $(glademodulesdir)/libgtkdateentry$(libmodulesext)