Commit e244784e authored by Nikolai Kosjar's avatar Nikolai Kosjar
Browse files

Sqlite: Move export define to *.pro



...since we do not need that in e.g. unittest.pro.

Change-Id: I90da96e81eae3f0fdffd073c4314502c1e0d0c83
Reviewed-by: default avatarMarco Bubke <marco.bubke@theqtcompany.com>
parent eaa93e86
......@@ -4,12 +4,8 @@ HEADERS += $$PWD/okapi_bm25.h \
$$PWD/sqlite3.h \
$$PWD/sqlite3ext.h
SOURCES += $$PWD/sqlite3.c
win32:DEFINES += SQLITE_API=__declspec(dllexport)
unix:DEFINES += SQLITE_API=\"__attribute__((visibility(\\\"default\\\")))\"
gcc {
QMAKE_CFLAGS_WARN_ON = -w
}
......@@ -2,4 +2,8 @@ unix:QMAKE_CXXFLAGS_DEBUG += -O2
win32:QMAKE_CXXFLAGS_DEBUG += -O2
include(../../qtcreatorlibrary.pri)
win32:DEFINES += SQLITE_API=__declspec(dllexport)
unix:DEFINES += SQLITE_API=\"__attribute__((visibility(\\\"default\\\")))\"
include(sqlite-lib.pri)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment