mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
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.
This commit is contained in:
@@ -16,7 +16,7 @@ if __name__ == "__main__":
|
|||||||
dn = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
dn = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||||
os.environ["DCC_RS_DEV"] = dn
|
os.environ["DCC_RS_DEV"] = dn
|
||||||
|
|
||||||
cmd = ["cargo", "build", "-p", "deltachat_ffi"]
|
cmd = ["cargo", "build", "-p", "deltachat_ffi", "--features", "jsonrpc"]
|
||||||
|
|
||||||
if target == "release":
|
if target == "release":
|
||||||
os.environ["CARGO_PROFILE_RELEASE_LTO"] = "on"
|
os.environ["CARGO_PROFILE_RELEASE_LTO"] = "on"
|
||||||
|
|||||||
Reference in New Issue
Block a user