diff options
-rw-r--r-- | ffi/Cargo.toml | 2 | ||||
-rw-r--r-- | ffi/Makefile | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/ffi/Cargo.toml b/ffi/Cargo.toml index 8faf8fdb..98f2fcc7 100644 --- a/ffi/Cargo.toml +++ b/ffi/Cargo.toml @@ -14,4 +14,4 @@ libc = "0.2.33" native-tls = "0.1.4" [lib] -crate-type = ["dylib"] +crate-type = ["cdylib", "staticlib"] diff --git a/ffi/Makefile b/ffi/Makefile index a33db873..c97852e4 100644 --- a/ffi/Makefile +++ b/ffi/Makefile @@ -43,6 +43,8 @@ install: $(DESTDIR)$(PREFIX)/lib/libsequoia.so.$(VERSION) ln -fs libsequoia.so.$(VERSION) \ $(DESTDIR)$(PREFIX)/lib/libsequoia.so.$(VERSION_MAJOR) + $(INSTALL) ../target/release/libsequoia_ffi.a \ + $(DESTDIR)$(PREFIX)/lib/libsequoia.a # Housekeeping. .PHONY: clean |