Re: Cygwin - make check broken - Mailing list pgsql-hackers

From Reini Urban
Subject Re: Cygwin - make check broken
Date
Msg-id 42F848AE.1010909@x-ray.at
Whole thread Raw
In response to Re: Cygwin - make check broken  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew Dunstan schrieb:
> Tom Lane wrote:
>> Andrew Dunstan writes:
>>> Marko Kreen wrote:
>>>> On Sun, Aug 07, 2005 at 12:08:28PM -0400, Tom Lane wrote:
>>>>> Couple thoughts here --- one, someone upthread suggested
>>>>> "cyg$(NAME)$(DLSUFFIX" as the proper value for shlib.
>>>>
>>>> .exe's in different directories than .dll's but all in PATH.
>>
>>> Especially DLLs in the system directory. Anyway, I see no point *not* 
>>> to observe the platform's convention.
>>>   
>>> I just tested it and make check worked fine.
>>
>> OK, applied with the "cyg" prefix.
>>
>> When you get a chance, would you see if the SHLIB_LINK += $(LIBS)
>> bit is still needed?
> 
> I commented it out of the Cygwin stanza and all seemed fine - contrib 
> built and passed installcheck quite happily.

Ok, thanks a lot! This was my hack.

The magic cyg prefix makes it easier for libtool and the gcc linker to 
detect dll's for import libraries, and also makes it easier to mix both 
(cygwin vs. mingw and msvc) client libs and have both of them in the path.
-- 
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
http://phpwiki.org/


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Simplifying wal_sync_method
Next
From: Marko Kreen
Date:
Subject: Re: Simplifying wal_sync_method