diff options
-rw-r--r-- | embedserv/source/inprocserv/dllentry.cxx | 3 | ||||
-rw-r--r-- | embedserv/source/inprocserv/makefile.mk | 8 |
2 files changed, 7 insertions, 4 deletions
diff --git a/embedserv/source/inprocserv/dllentry.cxx b/embedserv/source/inprocserv/dllentry.cxx index 2ab1d0d5bfad..1da88444e841 100644 --- a/embedserv/source/inprocserv/dllentry.cxx +++ b/embedserv/source/inprocserv/dllentry.cxx @@ -35,6 +35,9 @@ #include <stdio.h> #include <inprocembobj.h> +#ifdef __MINGW32__ +#define INITGUID +#endif #include <embservconst.h> static const GUID* guidList[ SUPPORTED_FACTORIES_NUM ] = { diff --git a/embedserv/source/inprocserv/makefile.mk b/embedserv/source/inprocserv/makefile.mk index 9c90caaae957..ca49d2f0210f 100644 --- a/embedserv/source/inprocserv/makefile.mk +++ b/embedserv/source/inprocserv/makefile.mk @@ -56,10 +56,10 @@ SLOFILES=\ SHL1TARGET=$(TARGET) SHL1STDLIBS=\ - uuid.lib\ - ole32.lib\ - gdi32.lib\ - advapi32.lib + $(UUIDLIB)\ + $(OLE32LIB)\ + $(GDI32LIB)\ + $(ADVAPI32LIB) SHL1OBJS=$(SLOFILES) |