mirror of https://github.com/pyodide/pyodide.git
Explicitly tell sqlite popen is not available (#999)
This commit is contained in:
parent
4502707e4f
commit
208fa57bcf
|
@ -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}; \
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue