diff --git a/src/makefiles/Makefile.win32 b/src/makefiles/Makefile.win32 index b93f78067f2f25460ad8e1e11d9b25c784158971..176c8b9d3fc06a24d581e1a372c25ba6bfac856b 100644 --- a/src/makefiles/Makefile.win32 +++ b/src/makefiles/Makefile.win32 @@ -1,12 +1,11 @@ # src/makefiles/Makefile.win32 -# Use replacement include files for those missing on Win32 -override CPPFLAGS+="-I$(top_srcdir)/src/include/port/win32" - ifdef PGXS BE_DLLLIBS= -L$(libdir) -lpostgres +override CPPFLAGS+= -I$(includedir_server)/port/win32 else BE_DLLLIBS= -L$(top_builddir)/src/backend -lpostgres +override CPPFLAGS+="-I$(top_srcdir)/src/include/port/win32" endif AROPT = crs @@ -44,11 +43,6 @@ ifneq (,$(findstring src/pl/plpython,$(subdir))) override CPPFLAGS+= -DUSE_DL_IMPORT endif -# special win32 headers are provided here -ifdef PGXS -override CPPFLAGS+= -I$(includedir_server)/port/win32 -endif - # it is better to install shared-libraries anyway? # may be overriden with make MAKE_DLL=false install ifndef MAKE_DLL