Explicitly tell sqlite popen is not available (#999)

This commit is contained in:
Dexter Chua 2021-01-01 17:45:44 +08:00 committed by GitHub
parent 4502707e4f
commit 208fa57bcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -82,9 +82,11 @@ $(ZLIBBUILD)/.configured: $(ZLIBTARBALL)
$(SQLITEBUILD)/libsqlite3.la: $(SQLITETARBALL)
[ -d $(ROOT)/build ] || (mkdir $(ROOT)/build)
tar -C $(ROOT)/build/ -xf $(SQLITETARBALL)
# sqlite fails to detect that popen is not available. We have to set it
# as a CPPFLAG
( \
cd $(SQLITEBUILD); \
emconfigure ./configure; \
CPPFLAGS="-DSQLITE_OMIT_POPEN" emconfigure ./configure; \
emmake make -j $${PYODIDE_JOBS:-3}; \
)