From 95a9f1e2f8eb4aa7c777d9cae23ccdc716f8b3cc Mon Sep 17 00:00:00 2001 From: link2xt Date: Sat, 6 Aug 2022 21:00:55 +0000 Subject: [PATCH] Build with jsonrpc in install_python_bindings.py Python bindings expect all functions defined in deltachat.h to be available, even if there is no high-level interface. scripts/run-python-test.sh doesn't work without this. --- python/install_python_bindings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/install_python_bindings.py b/python/install_python_bindings.py index f85f0f27c..6e216c893 100755 --- a/python/install_python_bindings.py +++ b/python/install_python_bindings.py @@ -16,7 +16,7 @@ if __name__ == "__main__": dn = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) os.environ["DCC_RS_DEV"] = dn - cmd = ["cargo", "build", "-p", "deltachat_ffi"] + cmd = ["cargo", "build", "-p", "deltachat_ffi", "--features", "jsonrpc"] if target == "release": os.environ["CARGO_PROFILE_RELEASE_LTO"] = "on"