summaryrefslogtreecommitdiffstats
path: root/src/sql/drivers/odbc/qsql_odbc.pri
diff options
context:
space:
mode:
Diffstat (limited to 'src/sql/drivers/odbc/qsql_odbc.pri')
-rw-r--r--src/sql/drivers/odbc/qsql_odbc.pri14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/sql/drivers/odbc/qsql_odbc.pri b/src/sql/drivers/odbc/qsql_odbc.pri
index 8394012..66a8d51 100644
--- a/src/sql/drivers/odbc/qsql_odbc.pri
+++ b/src/sql/drivers/odbc/qsql_odbc.pri
@@ -1,13 +1,13 @@
HEADERS += $$PWD/qsql_odbc.h
SOURCES += $$PWD/qsql_odbc.cpp
-mac {
- !contains(LIBS, .*odbc.*):LIBS += -liodbc
-} else:unix {
+unix {
DEFINES += UNICODE
- !contains(LIBS, .*odbc.*):LIBS += $$QT_LFLAGS_ODBC
-} else:win32-borland {
- LIBS *= $(BCB)/lib/PSDK/odbc32.lib
+ !contains(LIBS, .*odbc.*) {
+ macx:LIBS += -liodbc
+ else:LIBS += $$QT_LFLAGS_ODBC
+ }
} else {
- LIBS *= -lodbc32
+ win32-borland:LIBS *= $(BCB)/lib/PSDK/odbc32.lib
+ else:LIBS *= -lodbc32
}