summaryrefslogtreecommitdiff
path: root/xpdf
diff options
context:
space:
mode:
Diffstat (limited to 'xpdf')
-rw-r--r--xpdf/wrapper/makefile.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/xpdf/wrapper/makefile.mk b/xpdf/wrapper/makefile.mk
index c3a4a4d71c42..5d40212e2ad6 100644
--- a/xpdf/wrapper/makefile.mk
+++ b/xpdf/wrapper/makefile.mk
@@ -8,7 +8,7 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.3 $
+# $Revision: 1.4 $
#
# This file is part of OpenOffice.org.
#
@@ -48,7 +48,11 @@ APP1LIBSALCPPRT=
APP1OBJS= \
$(OBJ)$/wrapper_gpl.obj $(OBJ)/pdfioutdev_gpl.obj
.IF "$(GUI)" == "WNT"
+.IF "$(COM)"=="GCC"
+APP1STDLIBS+=-lxpdf -lfofi -lGoo -lgdi32 -ladvapi32
+.ELSE
APP1STDLIBS+=xpdf.lib fofi.lib Goo.lib gdi32.lib advapi32.lib
+.ENDIF
.ELSE
APP1STDLIBS+=-lxpdf -lfofi -lGoo
.ENDIF