Re: mingw compile error - Mailing list pgsql-bugs

From Bob Rossi
Subject Re: mingw compile error
Date
Msg-id 20080518010235.GN6437@brasko.net
Whole thread Raw
In response to mingw compile error  (Bob Rossi <bob_rossi@cox.net>)
Responses Re: mingw compile error  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
On Thu, May 15, 2008 at 11:18:18AM -0400, Bob Rossi wrote:
> Hi,
>
> I noticed that if I build postgresql-8.3.1 on mingw with
> --disable-shared --without-zlib, I get a compiler error when it goes to
> build the regress test in src/test/regress.
>
> The problem is here,
>   $(NAME)$(DLSUFFIX): $(shlib)
>           rm -f $(NAME)$(DLSUFFIX)
>           $(LN_S) $(shlib) $(NAME)$(DLSUFFIX)
> It uses the variable $(shlib) which is only defined if the build is
> configured with a shared library. Therefor, the ln -s command comes out
> like 'ln -s  regress.dll', and the build fails.

Ping. Anyone care?

Bob Rossi

pgsql-bugs by date:

Previous
From:
Date:
Subject: WG: [GENERAL] reproducible database crash with simple sql command on postgres 8.3.1
Next
From: Tom Lane
Date:
Subject: Re: mingw compile error