]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/config.bkl
fixed dll extension when crosscompiling for win32
[wxWidgets.git] / build / bakefiles / config.bkl
index 6327f332d8bc0919af075a605ffc65d66a97d270..cc0e95b2cbc7b30d27bb68db0d585ece619306ce 100644 (file)
@@ -2,6 +2,9 @@
 <!-- $Id$ -->
 
 <makefile>
+    
+    <set var="BUILDING_LIB" overwrite="0">0</set>
+
 
     <option name="UNICODE">
         <values>0 1</values>
         <set var="SAMPLES_RPATH_FLAG"/>
         <option name="EXTRALIBS"/>
 
-        <set var="SRCDIR">..</set>
+        <set var="SRCDIR">
+            <if cond="BUILDING_LIB=='1'">..</if>
+            <if cond="BUILDING_LIB=='0'">.</if>
+        </set>
         <set var="TOP_SRCDIR">$(SRCDIR)/$(WXTOPDIR)</set>
         <set var="BUILDDIR">objs_$(COMPILER)</set>
     </if>