rust: remove --disable-static only for rust

Only remove --disable-static from OECONF for things built from the rust
source and not things inheriting rust.
This commit is contained in:
Doug Goldstein
2016-12-04 23:27:34 -06:00
parent 487e670b9b
commit 43c139f131
2 changed files with 3 additions and 2 deletions
+3
View File
@@ -341,6 +341,9 @@ do_rust_arch_fixup[dirs] += "${S}/mk/cfg"
# prevent the rust-installer scripts from calling ldconfig
export CFG_DISABLE_LDCONFIG="notempty"
# rust's configure doesn't recognize --disable-static, so remove it.
DISABLE_STATIC = ""
do_configure () {
# FIXME: target_prefix vs prefix, see cross.bbclass