浏览代码

* ODBC library is called odbc32 on windows

git-svn-id: trunk@17208 -
michael 14 年之前
父节点
当前提交
5a84a0c4ef
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      packages/odbc/src/odbcsql.inc

+ 4 - 0
packages/odbc/src/odbcsql.inc

@@ -20,7 +20,11 @@
 {$endif fpc}
 {$endif fpc}
 
 
 {$ifndef DYNLOADINGODBC}
 {$ifndef DYNLOADINGODBC}
+{$IFDEF WINDOWS}
+  {$linklib odbc32}
+{$ELSE}
   {$linklib odbc}
   {$linklib odbc}
+{$endif} 
 {$endif}
 {$endif}
 
 
 interface
 interface