mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-18 18:44:06 +08:00
Fix pgxs -L library path specification for Win32 and Cygwin, was /bin,
now /lib.
This commit is contained in:
parent
9fad6e338b
commit
92d1dd845f
@ -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.4.1 2006/01/19 20:01:32 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
|
||||
|
@ -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.4.1 2006/01/19 20:01:32 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
|
||||
|
Loading…
Reference in New Issue
Block a user