Re: more dirmod CYGWIN - Mailing list pgsql-hackers

From Reini Urban
Subject Re: more dirmod CYGWIN
Date
Msg-id 416D1F7C.7060809@x-ray.at
Whole thread Raw
In response to Re: more dirmod CYGWIN  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian schrieb:
> I have added the attached patch to allow Cygwin /contrib compiles.  I am
> a little confused why Cygwin requires -lpgport and no other platform
> does, but it is in the Cygwin-specific section so we can always improve
> it later if we find the cause.

thanks. duplicate does not harm.
I tell you when I'll find the real culprit.
I thought I knew it last month, but the LDFLAGS / LIBS issue
(adding all libs to LDFLAGS) is already fixed now.

> Index: src/Makefile.shlib
> ===================================================================
> RCS file: /cvsroot/pgsql/src/Makefile.shlib,v
> retrieving revision 1.83
> diff -c -c -r1.83 Makefile.shlib
> *** src/Makefile.shlib    13 Oct 2004 09:51:47 -0000    1.83
> --- src/Makefile.shlib    13 Oct 2004 10:17:36 -0000
> ***************
> *** 216,221 ****
> --- 216,223 ----
>
>   ifeq ($(PORTNAME), cygwin)
>     shlib            = $(NAME)$(DLSUFFIX)
> +   # needed for /contrib modules, not sure why
> +   SHLIB_LINK        += -lpgport
>   endif
>
>   ifeq ($(PORTNAME), win32)

--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/

pgsql-hackers by date:

Previous
From: Reini Urban
Date:
Subject: Re: plans for bitmap indexes?
Next
From: Tom Lane
Date:
Subject: Re: plans for bitmap indexes?