From ff91b31732b27120ce31195b1f2963aee0ef97cb Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 7 Oct 2009 17:19:13 +0000 Subject: [PATCH] fix midl command --- dtool/pptempl/Template.gmsvc.pp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dtool/pptempl/Template.gmsvc.pp b/dtool/pptempl/Template.gmsvc.pp index 1b0a018906..e83fde9c8a 100644 --- a/dtool/pptempl/Template.gmsvc.pp +++ b/dtool/pptempl/Template.gmsvc.pp @@ -577,6 +577,7 @@ $[idl_to_gen] : $[GENERATED_IDL_DEPENDENCIES] $[TAB] $[IDL_GENERATOR_RULE] $[ODIR]/$[IDL_BASENAME].h : $[idl_to_gen] +#define idl $[idl_to_gen] $[TAB] $[MIDL_COMMAND] // this is a complete hack. I dont know how add a generated .h to the dependency list of $[IDL_BASENAME].cpp. @@ -588,6 +589,7 @@ $[TAB] // empty, dependency-only 'rule' #end file $[ODIR]/$[IDL_BASENAME].tlb : $[idl_to_gen] +#define idl $[idl_to_gen] $[TAB] $[MIDL_COMMAND] #endif