sqlite: don't add standard include path to Cflags

Explicitly adding the standard include path causes it to end up
in -isystem of gcc invocations in Qt builds. This can cause
hard to diagnose failures to find system header files when
building Qt.
pull/1780/head
Mark Brand 7 years ago
parent 13461793aa
commit 43214bf7e8

@ -18,6 +18,9 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
# The system include path doesn't belong in CFLAGS
# Causes problems like https://gitlab.kitware.com/cmake/cmake/issues/16919
$(SED) -i 's/^Cflags/#Cflags/;' '$(1)/sqlite3.pc.in'
cd '$(1)' && ./configure \
$(MXE_CONFIGURE_OPTS) \
--disable-readline \

Loading…
Cancel
Save