summaryrefslogtreecommitdiff
path: root/odk/source/unowinreg
diff options
context:
space:
mode:
Diffstat (limited to 'odk/source/unowinreg')
-rw-r--r--odk/source/unowinreg/win/makefile.mk12
1 files changed, 8 insertions, 4 deletions
diff --git a/odk/source/unowinreg/win/makefile.mk b/odk/source/unowinreg/win/makefile.mk
index d823277452af..c9d88e1058ea 100644
--- a/odk/source/unowinreg/win/makefile.mk
+++ b/odk/source/unowinreg/win/makefile.mk
@@ -4,9 +4,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.9 $
+# $Revision: 1.10 $
#
-# last change: $Author: vg $ $Date: 2007-02-06 13:23:00 $
+# last change: $Author: vg $ $Date: 2007-03-26 13:28:13 $
#
# The Contents of this file are made available subject to
# the terms of GNU Lesser General Public License Version 2.1.
@@ -98,11 +98,15 @@ SHL1TARGET=$(TARGET)
SHL1LIBS=$(SLB)$/$(TARGET).lib
#No default libraries
+.IF "$(COM)"=="GCC"
+STDSHL=-lmingw32 -lmsvcrt
+.ELSE
STDSHL=
+.ENDIF
SHL1STDLIBS +=\
- kernel32.lib\
- advapi32.lib
+ $(KERNEL32LIB)\
+ $(ADVAPI32LIB)
SHL1DEF=$(MISC)$/$(SHL1TARGET).def