From b5dc7165fe81deb51d8721bd7088e47999004d01 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Thu, 19 Jan 2006 20:01:01 +0000 Subject: [PATCH] Fix pgxs -L library path specification for Win32 and Cygwin, was /bin, now /lib. --- src/makefiles/Makefile.cygwin | 4 ++-- src/makefiles/Makefile.win32 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/makefiles/Makefile.cygwin b/src/makefiles/Makefile.cygwin index a441d78a60e..6d172619287 100644 --- a/src/makefiles/Makefile.cygwin +++ b/src/makefiles/Makefile.cygwin @@ -1,8 +1,8 @@ -# $PostgreSQL: pgsql/src/makefiles/Makefile.cygwin,v 1.6 2004/12/17 03:52:48 tgl Exp $ +# $PostgreSQL: pgsql/src/makefiles/Makefile.cygwin,v 1.6.6.1 2006/01/19 20:01:01 momjian Exp $ DLLTOOL= dlltool DLLWRAP= dllwrap ifdef PGXS -BE_DLLLIBS= -L$(DESTDIR)$(bindir) -lpostgres +BE_DLLLIBS= -L$(DESTDIR)$(libdir) -lpostgres else BE_DLLLIBS= -L$(top_builddir)/src/backend -lpostgres endif diff --git a/src/makefiles/Makefile.win32 b/src/makefiles/Makefile.win32 index ae431b5a280..d1819b39953 100644 --- a/src/makefiles/Makefile.win32 +++ b/src/makefiles/Makefile.win32 @@ -1,4 +1,4 @@ -# $PostgreSQL: pgsql/src/makefiles/Makefile.win32,v 1.7 2004/12/17 03:52:49 tgl Exp $ +# $PostgreSQL: pgsql/src/makefiles/Makefile.win32,v 1.7.6.1 2006/01/19 20:01:01 momjian Exp $ # Use replacement include files for those missing on Win32 override CPPFLAGS+="-I$(top_srcdir)/src/include/port/win32" @@ -6,7 +6,7 @@ override CPPFLAGS+="-I$(top_srcdir)/src/include/port/win32" DLLTOOL= dlltool DLLWRAP= dllwrap ifdef PGXS -BE_DLLLIBS= -L$(DESTDIR)$(bindir) -lpostgres +BE_DLLLIBS= -L$(DESTDIR)$(libdir) -lpostgres else BE_DLLLIBS= -L$(top_builddir)/src/backend -lpostgres endif -- 2.47.2