From: Ronald Oussoren Date: Fri, 2 Jan 2009 15:06:00 +0000 (+0000) Subject: Fix for issue 4472 is incompatible with Cygwin, this patch X-Git-Tag: v2.7a1~2424 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0bbebbbee300679881fd7c09b2138cfab13e267d;p=python Fix for issue 4472 is incompatible with Cygwin, this patch should fix that. --- diff --git a/Makefile.pre.in b/Makefile.pre.in index ac510be41b..83824ec7b8 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -773,8 +773,8 @@ altbininstall: $(BUILDPYTHON) done $(INSTALL_PROGRAM) $(BUILDPYTHON) $(DESTDIR)$(BINDIR)/python$(VERSION)$(EXE) if test -f $(LDLIBRARY); then \ - if test "$(SO)" = .dll; then \ - $(INSTALL_SHARED) $(LDLIBRARY) $(DESTDIR)$(BINDIR); \ + if test -n "$(DLLLIBRARY)" ; then \ + $(INSTALL_SHARED) $(DLLLIBRARY) $(DESTDIR)$(BINDIR); \ else \ $(INSTALL_SHARED) $(LDLIBRARY) $(DESTDIR)$(LIBDIR)/$(INSTSONAME); \ if test $(LDLIBRARY) != $(INSTSONAME); then \