fix to allow mingw+vpath

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: fix to allow mingw+vpath
Date: 2010-12-20 17:10:49
Message-ID: 4D0F8E19.5040209@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

The simple change below allows a vpath build to be used on Mingw. Is
there any objection?

cheers

andrew

diff --git a/src/bin/pgevent/Makefile b/src/bin/pgevent/Makefile
index 013b801..39cb7dc 100644
--- a/src/bin/pgevent/Makefile
+++ b/src/bin/pgevent/Makefile
@@ -27,7 +27,7 @@ pgevent.dll: pgevent.def $(OBJS)
$(DLLWRAP) --def $< -o $(NAME) $(OBJS)

pgmsgevent.o: pgmsgevent.rc win32ver.rc
- $(WINDRES) $< -o $@ --include-dir=$(top_builddir)/src/include
--include-dir=$(top_srcdir)/src/include --include-dir=$(srcdir)
+ $(WINDRES) $< -o $@ --include-dir=$(top_builddir)/src/include
--include-dir=$(top_srcdir)/src/include --include-dir=$(srcdir)
--include-dir=.

all-lib: $(NAME)

Browse pgsql-hackers by date

  From Date Subject
Next Message Dimitri Fontaine 2010-12-20 17:25:14 Re: Extensions and custom_variable_classes
Previous Message Robert Haas 2010-12-20 17:00:03 Re: unlogged tables