From ea4291dc1fff0ba3c3ed03267f765e4b40de4960 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sat, 18 Jun 2011 00:11:39 +0300 Subject: Link correctly with the gnu_getopt library in the MinGW case --- idlc/source/preproc/makefile.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'idlc/source') diff --git a/idlc/source/preproc/makefile.mk b/idlc/source/preproc/makefile.mk index e6aa457e8b3d..721a5cd3e703 100644 --- a/idlc/source/preproc/makefile.mk +++ b/idlc/source/preproc/makefile.mk @@ -64,8 +64,10 @@ APP1OBJS=$(OBJ)$/cpp.obj APP1LIBS= $(LB)$/idlcpp.lib .IF "$(HAVE_GETOPT)" != "YES" -.IF "$(GUI)" == "WNT" +.IF "$(GUI)$(COM)" == "WNTMSC" APP1STDLIBS=gnu_getopt.lib +.ELIF "$(GUI)$(COM)" == "WNTGCC" +APP1STDLIBS=-lgnu_getopt .ENDIF .ENDIF -- cgit