summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
Diffstat (limited to 'idlc')
-rw-r--r--idlc/source/preproc/makefile.mk4
1 files changed, 3 insertions, 1 deletions
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