From: Marko Kreen Date: Thu, 18 Dec 2008 00:21:56 +0000 (+0000) Subject: dlltool seems to need --export-all-symbols to make .def file X-Git-Tag: pgbouncer_1_3_rc1~21 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cbc71240dc65eb1b4eeac05639d22e4e798111d5;p=pgbouncer dlltool seems to need --export-all-symbols to make .def file --- 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)