Cygwin - make check broken - Mailing list pgsql-hackers

From Rocco Altier
Subject Cygwin - make check broken
Date
Msg-id 6E0907A94904D94B99D7F387E08C4F5730F368@FALCON.INSIGHT
Whole thread Raw
Responses Re: Cygwin - make check broken
Re: Cygwin - make check broken
List pgsql-hackers
It looks like when we changed regress/GNUmakefile to pull rules from
Makefile.shlib, cygwin got broken in the process.

The problem is that regess.dll ends up being a symlink back to itself,
because we do a:
$(NAME)$(DLSUFFIX): $(shlib)       rm -f $(NAME)$(DLSUFFIX)       $(LN_S) $(shlib) $(NAME)$(DLSUFFIX)

And from Makefile.shlib (for cygwin)
ifeq ($(PORTNAME), cygwin) shlib                 = $(NAME)$(DLSUFFIX)

Thus regress.dll gets unhappy :-(

I don't know enough about the rest of the way the cygwin port is put
together, but it seems that the other platforms all have
shlib=lib$(NAME)...
-rocco


pgsql-hackers by date:

Previous
From: Ron Mayer
Date:
Subject: Re: US Census database (Tiger 2004FE) - 4.4G
Next
From: Tom Lane
Date:
Subject: Re: Cygwin - make check broken