diff --git a/src/Makefile.am b/src/Makefile.am index a269a8e8272..709f82a5ce2 100755 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1197,6 +1197,12 @@ install-headers: for header in $(noinst_HEADERS); do \ $(INSTALL_DATA) $$header "$(DESTDIR)${includedir}/suricata"; \ done + if test -e ../rust/dist/rust-bindings.h; then \ + $(INSTALL_DATA) ../rust/dist/rust-bindings.h "$(DESTDIR)${includedir}/suricata"; \ + fi + if test -e ../rust/gen/rust-bindings.h; then \ + $(INSTALL_DATA) ../rust/gen/rust-bindings.h "$(DESTDIR)${includedir}/suricata"; \ + fi # Until we can remove autoconf.h from our headers, we need to to # provide this for library/plugin users.