cargo: avoid build failure due to --disable-static not being recognized
Not sure why this is starting to affect cargo now, but let's fix it.
This commit is contained in:
@@ -76,6 +76,9 @@ PACKAGECONFIG[rust-snapshot] = "--local-rust-root=${B}/rustc"
|
|||||||
# Used in libgit2-sys's build.rs, needed for pkg-config to be used
|
# Used in libgit2-sys's build.rs, needed for pkg-config to be used
|
||||||
export LIBGIT2_SYS_USE_PKG_CONFIG = "1"
|
export LIBGIT2_SYS_USE_PKG_CONFIG = "1"
|
||||||
|
|
||||||
|
# cargo's configure doesn't recognize --disable-static, so remove it.
|
||||||
|
DISABLE_STATIC = ""
|
||||||
|
|
||||||
do_configure () {
|
do_configure () {
|
||||||
${@bb.utils.contains('PACKAGECONFIG', 'rust-snapshot', '${S}/.travis.install.deps.sh', ':', d)}
|
${@bb.utils.contains('PACKAGECONFIG', 'rust-snapshot', '${S}/.travis.install.deps.sh', ':', d)}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user