From 730a77f19b2fe572e6685c0cfba4074b3a2d5fa8 Mon Sep 17 00:00:00 2001 From: Edin Kadribasic Date: Sun, 4 Mar 2007 00:41:16 +0000 Subject: [PATCH] Check that manifest file exists before trying to embed it --- win32/build/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/win32/build/Makefile b/win32/build/Makefile index 2be1a4be47..d1d0e83546 100644 --- a/win32/build/Makefile +++ b/win32/build/Makefile @@ -59,8 +59,8 @@ $(MCFILE): win32\build\wsyslog.mc _VC_MANIFEST_EMBED_EXE= _VC_MANIFEST_EMBED_DLL= !else -_VC_MANIFEST_EMBED_EXE= $(MT) -nologo -manifest $@.manifest -outputresource:$@;1 -_VC_MANIFEST_EMBED_DLL= $(MT) -nologo -manifest $@.manifest -outputresource:$@;2 +_VC_MANIFEST_EMBED_EXE= if exist $@.manifest $(MT) -nologo -manifest $@.manifest -outputresource:$@;1 +_VC_MANIFEST_EMBED_DLL= if exist $@.manifest $(MT) -nologo -manifest $@.manifest -outputresource:$@;2 !endif $(PHPDLL_RES): win32\build\template.rc -- 2.50.1