[Libreoffice-commits] .: idlc/source

Tor Lillqvist tml at kemper.freedesktop.org
Fri Jun 17 14:36:51 PDT 2011


 idlc/source/preproc/makefile.mk |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit f50b2f487b03b51731ed9985e2153f52c7ee90b1
Author: Tor Lillqvist <tlillqvist at novell.com>
Date:   Sat Jun 18 00:11:39 2011 +0300

    Link correctly with the gnu_getopt library in the MinGW case

diff --git a/idlc/source/preproc/makefile.mk b/idlc/source/preproc/makefile.mk
index e6aa457..721a5cd 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
 


More information about the Libreoffice-commits mailing list