aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2006-01-19 20:00:54 +0000
committerBruce Momjian <bruce@momjian.us>2006-01-19 20:00:54 +0000
commit99e0c542904dc76d9daf6b8542d9639565bea25c (patch)
tree5dbfdeaa3e146eb7d51b7cb8bc5c8dca6d040794 /src
parent4513d9dedac634aeca41a436093bc02a1aa8efec (diff)
downloadpostgresql-99e0c542904dc76d9daf6b8542d9639565bea25c.tar.gz
postgresql-99e0c542904dc76d9daf6b8542d9639565bea25c.zip
Fix pgxs -L library path specification for Win32 and Cygwin, was /bin,
now /lib.
Diffstat (limited to 'src')
-rw-r--r--src/makefiles/Makefile.cygwin4
-rw-r--r--src/makefiles/Makefile.win324
2 files changed, 4 insertions, 4 deletions
diff --git a/src/makefiles/Makefile.cygwin b/src/makefiles/Makefile.cygwin
index a441d78a60e..28b9773ba67 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.7 2006/01/19 20:00:54 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..cccaa37221a 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.8 2006/01/19 20:00:54 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