depends: Add `rust/cxx.h` header as a dependency
We could also generate this in the main build with `cxxbridge --header`, but we have the source from vendoring `cxxbridge`, and this simplifies the automake integration slightly.
This commit is contained in:
parent
7a46e8365f
commit
21f1bbf4aa
|
@ -1,4 +1,4 @@
|
|||
zcash_packages := libsodium utfcpp
|
||||
zcash_packages := libsodium rustcxx utfcpp
|
||||
packages := boost libevent zeromq $(zcash_packages) googletest
|
||||
native_packages := native_clang native_ccache native_rust native_cxxbridge
|
||||
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
package=rustcxx
|
||||
$(package)_version=$(native_cxxbridge_version)
|
||||
$(package)_file_name=$(native_cxxbridge_file_name)
|
||||
$(package)_sha256_hash=$(native_cxxbridge_sha256_hash)
|
||||
|
||||
# Nothing to do, this was fetched by native_cxxbridge.
|
||||
define $(package)_fetch_cmds
|
||||
endef
|
||||
|
||||
define $(package)_stage_cmds
|
||||
mkdir -p $($(package)_staging_prefix_dir)/include/rust && \
|
||||
cp include/cxx.h $($(package)_staging_prefix_dir)/include/rust
|
||||
endef
|
Loading…
Reference in New Issue