diff options
Diffstat (limited to 'src/plugins/sqldrivers/odbc/odbc.pro')
-rw-r--r-- | src/plugins/sqldrivers/odbc/odbc.pro | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/plugins/sqldrivers/odbc/odbc.pro b/src/plugins/sqldrivers/odbc/odbc.pro new file mode 100644 index 0000000..0835ce1 --- /dev/null +++ b/src/plugins/sqldrivers/odbc/odbc.pro @@ -0,0 +1,24 @@ +TARGET = qsqlodbc + +HEADERS = ../../../sql/drivers/odbc/qsql_odbc.h +SOURCES = main.cpp \ + ../../../sql/drivers/odbc/qsql_odbc.cpp + +mac { + !contains( LIBS, .*odbc.* ) { + LIBS *= -liodbc + } +} + +unix { + !contains( LIBS, .*odbc.* ) { + LIBS *= -lodbc + } +} + +win32 { + !win32-borland:LIBS *= -lodbc32 + win32-borland:LIBS *= $(BCB)/lib/PSDK/odbc32.lib +} + +include(../qsqldriverbase.pri) |