diff options
author | Bill King <bill.king@nokia.com> | 2009-05-28 01:12:26 (GMT) |
---|---|---|
committer | Bill King <bill.king@nokia.com> | 2009-05-28 01:12:26 (GMT) |
commit | 8aef511877d460e4d7e75c978142f1ca3bd50451 (patch) | |
tree | 78362c8a123dce23991f0d6e0200db4e13278650 /config.tests/unix | |
parent | fcfdccc03b6dd26a82e87a6b6a0ca48d67f78cf6 (diff) | |
download | Qt-8aef511877d460e4d7e75c978142f1ca3bd50451.zip Qt-8aef511877d460e4d7e75c978142f1ca3bd50451.tar.gz Qt-8aef511877d460e4d7e75c978142f1ca3bd50451.tar.bz2 |
Adds support for linking against iodbc on linux.
If unixodbc detection fails, try and link/detect iodbc libraries and link against them.
Reviewed-by: Lincoln Ramsay
Diffstat (limited to 'config.tests/unix')
-rw-r--r-- | config.tests/unix/iodbc/iodbc.cpp | 7 | ||||
-rw-r--r-- | config.tests/unix/iodbc/iodbc.pro | 4 |
2 files changed, 11 insertions, 0 deletions
diff --git a/config.tests/unix/iodbc/iodbc.cpp b/config.tests/unix/iodbc/iodbc.cpp new file mode 100644 index 0000000..6b64e12 --- /dev/null +++ b/config.tests/unix/iodbc/iodbc.cpp @@ -0,0 +1,7 @@ +#include <sql.h> +#include <sqlext.h> + +int main(int, char **) +{ + return 0; +} diff --git a/config.tests/unix/iodbc/iodbc.pro b/config.tests/unix/iodbc/iodbc.pro new file mode 100644 index 0000000..465a9a7 --- /dev/null +++ b/config.tests/unix/iodbc/iodbc.pro @@ -0,0 +1,4 @@ +SOURCES = iodbc.cpp +CONFIG -= qt dylib +mac:CONFIG -= app_bundle +LIBS += -liodbc |