]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/build_cfg.bkl
blind attempt to fix wxMac compilation (__UNIX__ defined on OS X?)
[wxWidgets.git] / build / bakefiles / build_cfg.bkl
index 479c8a3c91867206d09a7a8e8c8555ae794505ea..a02612a5375820344b5943d5d3b53deb89c30b6a 100644 (file)
 
     <if cond="FORMAT!='autoconf' and TOOLKIT=='MSW' and FORMAT!='msvc6prj' and FORMAT!='cbuilderx'">
 
-        <set var="BUILD_CFG_FILE">$(LIBDIRNAME)$(DIRSEP)build.cfg</set>
+        <set var="BUILD_CFG_FILE" make_var="1">
+            $(SETUPHDIR)$(DIRSEP)build.cfg
+        </set>
         
         <action id="build_cfg_file">
+            <is-phony>1</is-phony>
             <dependency-of>all</dependency-of>
-            <depends>libdir</depends>
+            <depends>libdir_setup</depends>
             <command>
                 @echo WXVER_MAJOR=$(WXVER_MAJOR) >$(BUILD_CFG_FILE)
                 @echo WXVER_MINOR=$(WXVER_MINOR) >>$(BUILD_CFG_FILE)