From 6d78d2ff7d05f607bcbdfd78593b21aa74e05d27 Mon Sep 17 00:00:00 2001 From: cxgeorge <> Date: Thu, 31 May 2001 20:21:52 +0000 Subject: [PATCH] fix bug in prev chkin --- dtool/pptempl/Global.pp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/dtool/pptempl/Global.pp b/dtool/pptempl/Global.pp index bd03eb3147..b052c7bfd0 100644 --- a/dtool/pptempl/Global.pp +++ b/dtool/pptempl/Global.pp @@ -342,11 +342,10 @@ // This variable returns the name of the fake precompiled header cxx // that will be used to force linking of the generated pch .obj into libs -// returns non-empty if sources var contains a *_headers.h -// should probably use PRECOMPILED_HEADER var directly here instead + #defer get_pch_outputcxx \ - $[if $[and $[DO_PCH], $[filter %_headers.h, $[get_sources]]], \ - $[TARGET]_headers.cxx] + $[if $[and $[DO_PCH], $[PRECOMPILED_HEADER]], \ + $[patsubst %.h,%.cxx, $[PRECOMPILED_HEADER]]] // This variable returns the name of the interrogate module, if the // current metalib target should include one, or empty string if it