Link correctly with the gnu_getopt library in the MinGW case

This commit is contained in:
Tor Lillqvist 2011-06-18 00:11:39 +03:00
parent fd354f5544
commit ea4291dc1f

View file

@ -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