From: Stuart C. <stu...@us...> - 2007-08-14 22:27:29
|
Update of /cvsroot/aaf/AAF/ref-impl/plugins In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv22736 Modified Files: GNUmakefile Log Message: Fixes for g++ on Windows build Index: GNUmakefile =================================================================== RCS file: /cvsroot/aaf/AAF/ref-impl/plugins/GNUmakefile,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** GNUmakefile 15 May 2007 17:47:19 -0000 1.18 --- GNUmakefile 14 Aug 2007 22:27:29 -0000 1.19 *************** *** 84,89 **** # For MS Windows the linker must be passed the .DEF file otherwise the DLL # will not contain the expected exported symbols. ! PGAPI_DEF = /DEF:AafPlugincom.def ! INTP_DEF = /DEF:AAFINTP.DEF endif --- 84,95 ---- # For MS Windows the linker must be passed the .DEF file otherwise the DLL # will not contain the expected exported symbols. ! PGAPI_DEF = $(LD_DEF)AafPlugincom.def ! INTP_DEF = $(LD_DEF)AAFINTP.DEF ! ! ifeq ($(CC),g++) ! # g++ on Windows needs extra libs for IID_IUnknown and CoCreateGuid symbols ! PGAPI_DEF += -lole32 -luuid ! INTP_DEF += -lole32 -luuid ! endif endif |