From bd4c4b9a0232b040a527f0b43ab10572767d62d9 Mon Sep 17 00:00:00 2001 From: Thomas Laroche Date: Tue, 26 Mar 2019 20:20:11 +0100 Subject: [PATCH] Fix #6 by changing link order --- build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.rs b/build.rs index ca44c1a9..c3d0d074 100644 --- a/build.rs +++ b/build.rs @@ -9,8 +9,8 @@ use std::path::PathBuf; fn main() { // Tell cargo to tell rustc to link the system shared libraries. - println!("cargo:rustc-link-lib=mmal_core"); println!("cargo:rustc-link-lib=mmal_util"); + println!("cargo:rustc-link-lib=mmal_core"); println!("cargo:rustc-link-lib=mmal_vc_client"); println!("cargo:rustc-link-lib=vcos"); println!("cargo:rustc-link-lib=bcm_host");