From: Václav Slavík <vslavik@fastmail.fm>
Date: Mon, 28 Feb 2005 23:05:13 +0000 (+0000)
Subject: workaround for lack of res-define in our custom formats
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/260c165f3135cfad0c10e506b8e928b69fd1dfb8?ds=inline

workaround for lack of res-define in our custom formats


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

diff --git a/build/bakefiles/common.bkl b/build/bakefiles/common.bkl
index 2ac0c1a132..9f9ed37fd8 100644
--- a/build/bakefiles/common.bkl
+++ b/build/bakefiles/common.bkl
@@ -525,7 +525,9 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h
         <mac_version>$(WXMACVERSION)</mac_version>
 
         <!-- version info resources: -->
-        <res-define>WXDLLNAME=$(WXDLLNAME)</res-define>
+        <if cond="FORMAT not in ['rpmspec','wx24dsp']"> <!-- FIXME: fix for bkl-0.1.7 only, remove the cond later -->
+            <res-define>WXDLLNAME=$(WXDLLNAME)</res-define>
+        </if>
         <win32-res>src/msw/version.rc</win32-res>
     </template>