Make sure that we check that pkg-config knows sqlite3 before using it
Otherwise, we end up with an empty QT_LFLAGS_SQLITE and the plugin won't link. Change-Id: I026f60bf9cd075218dbe2888fbb7fc82782b27ca Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
This commit is contained in:
parent
ffe45f1896
commit
a3c802e7e5
2
configure
vendored
2
configure
vendored
@ -4631,7 +4631,7 @@ for _SQLDR in $CFG_SQL_AVAILABLE; do
|
||||
if [ "$CFG_SQL_sqlite" != "no" ]; then
|
||||
SQLITE_AUTODETECT_FAILED="no"
|
||||
if [ "$CFG_SQLITE" = "system" ]; then
|
||||
if [ -n "$PKG_CONFIG" ]; then
|
||||
if [ -n "$PKG_CONFIG" ] && $PKG_CONFIG --exists sqlite3 2>/dev/null; then
|
||||
QT_CFLAGS_SQLITE=`$PKG_CONFIG --cflags sqlite3 2>/dev/null`
|
||||
QT_LFLAGS_SQLITE=`$PKG_CONFIG --libs sqlite3 2>/dev/null`
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user