From: Marko Kreen Date: Mon, 12 Dec 2011 22:22:47 +0000 (+0200) Subject: pgbevent: hide switches from compiler X-Git-Tag: pgbouncer_1_5_rc1~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7c1d184558a456549b1dfafa13eaddf1e5bb83dc;p=pgbouncer pgbevent: hide switches from compiler --- diff --git a/Makefile b/Makefile index 1387ca4..a0bf29f 100644 --- 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