diff --git a/src/lib.rs b/src/lib.rs index 51a1b547..de316dbf 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -285,9 +285,11 @@ pub unsafe fn call_c_main( #[cfg(all(test, target_os = "macos"))] #[link(name = "pushpin-cpptest")] #[link(name = "pushpin-cpp")] +#[link(name = "zmq")] #[link(name = "QtCore", kind = "framework")] #[link(name = "QtNetwork", kind = "framework")] #[link(name = "QtTest", kind = "framework")] +#[link(name = "c++")] extern "C" { fn httpheaders_test(argc: libc::c_int, argv: *const *const libc::c_char) -> libc::c_int; fn jwt_test(argc: libc::c_int, argv: *const *const libc::c_char) -> libc::c_int; @@ -305,9 +307,11 @@ extern "C" { #[cfg(all(test, not(target_os = "macos")))] #[link(name = "pushpin-cpptest")] #[link(name = "pushpin-cpp")] +#[link(name = "zmq")] #[link(name = "Qt5Core")] #[link(name = "Qt5Network")] #[link(name = "Qt5Test")] +#[link(name = "stdc++")] extern "C" { fn httpheaders_test(argc: libc::c_int, argv: *const *const libc::c_char) -> libc::c_int; fn jwt_test(argc: libc::c_int, argv: *const *const libc::c_char) -> libc::c_int;