From cbc71240dc65eb1b4eeac05639d22e4e798111d5 Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Thu, 18 Dec 2008 00:21:56 +0000 Subject: [PATCH] dlltool seems to need --export-all-symbols to make .def file --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2122c2e..0c80295 100644 --- a/Makefile +++ b/Makefile @@ -62,6 +62,8 @@ dll = $(builddir)/pgbevent.dll dlldef = $(builddir)/lib/pgbevent.def dllobjs = $(builddir)/lib/eventmsg.o $(builddir)/lib/pgbevent.o +DEFFLAGS = --export-all-symbols + endif # Quiet by default, 'make V=1' shows commands @@ -193,7 +195,7 @@ $(builddir)/lib/eventmsg.o: $(srcdir)/win32/eventmsg.rc $(dlldef): $(dllobjs) $(E) " DLLTOOL" $@ - $(Q) $(DLLTOOL) --output-def $@ $(dllobjs) + $(Q) $(DLLTOOL) $(DEFFLAGS) --output-def $@ $(dllobjs) # final executable $(dll): $(builddir)/config.mak $(dllobjs) $(dlldef) -- 2.40.0