summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/sqlite.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sqlite.mk b/src/sqlite.mk
index dc6cb86..6a3314f 100644
--- a/src/sqlite.mk
+++ b/src/sqlite.mk
@@ -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 \