]> granicus.if.org Git - pgbouncer/commitdiff
pgbevent: hide switches from compiler
authorMarko Kreen <markokr@gmail.com>
Mon, 12 Dec 2011 22:22:47 +0000 (00:22 +0200)
committerMarko Kreen <markokr@gmail.com>
Mon, 12 Dec 2011 22:22:47 +0000 (00:22 +0200)
Makefile

index 1387ca4d87a45b31b25ec2b8863262520cbbecfb..a0bf29f089cb09cf73da6ffa406f724b6f2fb84f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -79,7 +79,7 @@ endif
 pgbevent_SOURCES = win32/pgbevent.c win32/eventmsg.rc \
                   win32/eventmsg.mc win32/MSG00001.bin
 pgbevent_EXT = .dll
-pgbevent_LINK = $(CC) -shared --export-all-symbols  -o $@ $^
+pgbevent_LINK = $(CC) -shared -Wl,--export-all-symbols -Wl,--add-stdcall-alias -o $@ $^
 
 # .rc->.o
 AM_LANGUAGES = RC