Thread: contrib/spi -lpgport missing

contrib/spi -lpgport missing

From
Reini Urban
Date:
Attached hack fixes building under cygwin.

The real analysis is in my "LDFLAGS overriding" thread, but if you live
with that, this is the only remaining patch for cygwin to compile.
Everything else seems to be solved.
Even python and perl, now that tcl is removed.

Basic plperl regression tests (testing against shm failures on cygwin)
pending. No time yet.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/

Index: Makefile
===================================================================
RCS file: /projects/cvsroot/pgsql-server/contrib/spi/Makefile,v
retrieving revision 1.24
diff -u -b -b -u -r1.24 Makefile
--- Makefile    20 Aug 2004 20:13:08 -0000    1.24
+++ Makefile    4 Oct 2004 10:55:47 -0000
@@ -17,3 +17,5 @@
 include $(top_builddir)/src/Makefile.global
 include $(top_srcdir)/contrib/contrib-global.mk
 endif
+
+SHLIB_LINK += -L$(top_builddir)/src/port -lpgport

Re: contrib/spi -lpgport missing

From
Bruce Momjian
Date:
What actually fails without this patch?  I am curious why Cygwin needs
it and no one else does.

---------------------------------------------------------------------------

Reini Urban wrote:
> Attached hack fixes building under cygwin.
>
> The real analysis is in my "LDFLAGS overriding" thread, but if you live
> with that, this is the only remaining patch for cygwin to compile.
> Everything else seems to be solved.
> Even python and perl, now that tcl is removed.
>
> Basic plperl regression tests (testing against shm failures on cygwin)
> pending. No time yet.
> --
> Reini Urban
> http://xarch.tu-graz.ac.at/home/rurban/
>

> Index: Makefile
> ===================================================================
> RCS file: /projects/cvsroot/pgsql-server/contrib/spi/Makefile,v
> retrieving revision 1.24
> diff -u -b -b -u -r1.24 Makefile
> --- Makefile    20 Aug 2004 20:13:08 -0000    1.24
> +++ Makefile    4 Oct 2004 10:55:47 -0000
> @@ -17,3 +17,5 @@
>  include $(top_builddir)/src/Makefile.global
>  include $(top_srcdir)/contrib/contrib-global.mk
>  endif
> +
> +SHLIB_LINK += -L$(top_builddir)/src/port -lpgport

>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
>       subscribe-nomail command to majordomo@postgresql.org so that your
>       message can get through to the mailing list cleanly

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073