Fix pgxs -L library path specification for Win32 and Cygwin, was /bin,
authorBruce Momjian <bruce@momjian.us>
Thu, 19 Jan 2006 20:01:01 +0000 (20:01 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 19 Jan 2006 20:01:01 +0000 (20:01 +0000)
now /lib.

src/makefiles/Makefile.cygwin
src/makefiles/Makefile.win32

index 3c5c7eb8d6ffdcc98618b1c0f308cbe5c224e102..a1563a6722c733b74eb9b807b674143b96fe4ac0 100644 (file)
@@ -2,7 +2,7 @@
 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
index 4482244813d47f7a3befb6a90b8a619f0fbffb83..96d2c50b529ca34417c7541fe6e70215d2e8c83e 100644 (file)
@@ -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