rust: don't gen C headers if Rust isn't enabled

pull/3201/head
Victor Julien 8 years ago
parent ab939f4aaa
commit dfae3297a5

@ -64,12 +64,6 @@ else
vendor:
endif
else # HAVE_RUST
all-local clean-local check vendor:
endif # HAVE_RUST
# Can only include the headers if we have Python to generate them.
if HAVE_PYTHON
EXTRA_DIST += gen/c-headers
@ -78,3 +72,8 @@ gen/c-headers:
else
gen/c-headers:
endif
else # HAVE_RUST
all-local clean-local check vendor gen/c-headers:
endif # HAVE_RUST

Loading…
Cancel
Save