]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/odbc.bkl
no need to define STRICT here either
[wxWidgets.git] / build / bakefiles / odbc.bkl
index eec210764d1fcef5fe751a2821f3778d23b005fb..24d60408076975652e94770430c1f5b0b7251228 100644 (file)
@@ -5,13 +5,20 @@
         <option name="wxUSE_ODBC"/>
     </if>
     <if cond="FORMAT!='autoconf'">
-        <set var="wxUSE_ODBC">builtin</set>
+        <set var="wxUSE_ODBC">
+            <if cond="PLATFORM_UNIX=='1'">builtin</if>
+            <if cond="PLATFORM_UNIX=='0'">0</if>
+        </set>
     </if>
     <set var="LIB_ODBC">
-        <if cond="wxUSE_ODBC=='builtin'">wxodbc</if>
+        <if cond="wxUSE_ODBC=='builtin'">wxodbc$(WXDEBUGFLAG)</if>
+    </set>
+    <set var="INC_ODBC">
+        <if cond="wxUSE_ODBC=='builtin'">$(TOP_SRCDIR)src/odbc</if>
     </set>
 
-    <lib id="wxodbc" cond="wxUSE_ODBC=='builtin' and BUILDING_LIB=='1'">
+    <lib id="wxodbc" template="3rdparty_lib"
+         cond="wxUSE_ODBC=='builtin' and BUILDING_LIB=='1'">
         <dirname>$(LIBDIRNAME)</dirname>
         <sources>
                    src/iodbc/catalog.c