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 committed 2016-12-05 10:55:14 -06:00
1 parent 487e670b9b
commit 43c139f131
2 files changed
+3 -2

No files matched your search

+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