From 8621c2f6e85edba55424fb9eafa168912843f435 Mon Sep 17 00:00:00 2001
From: Magnus Hagander <magnus@hagander.net>
Date: Sat, 15 Dec 2007 16:21:35 +0000
Subject: [PATCH] Get dllwrap name from variable instead of hardcoded.

Per complaint from Richard Evans
---
 src/bin/pgevent/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/pgevent/Makefile b/src/bin/pgevent/Makefile
index a45cf7f5006..7a4e63e3e27 100644
--- a/src/bin/pgevent/Makefile
+++ b/src/bin/pgevent/Makefile
@@ -22,7 +22,7 @@ all: $(NAME)
 install: all install-lib
 
 pgevent.dll: $(OBJS) pgevent.def
-	dllwrap --def pgevent.def -o $(NAME) $(OBJS)
+	$(DLLWRAP) --def pgevent.def -o $(NAME) $(OBJS)
 
 pgmsgevent.o: pgmsgevent.rc win32ver.rc
 	windres pgmsgevent.rc -o pgmsgevent.o --include-dir=$(top_builddir)/src/include
-- 
GitLab