Cygwin - make check broken

From: "Rocco Altier" <RoccoA(at)Routescape(dot)com>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: Cygwin - make check broken
Date: 2005-08-04 19:05:00
Message-ID: 6E0907A94904D94B99D7F387E08C4F5730F368@FALCON.INSIGHT
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-08-04 19:44:25 Re: Cygwin - make check broken
Previous Message Ron Mayer 2005-08-04 18:41:34 Re: US Census database (Tiger 2004FE) - 4.4G