summaryrefslogtreecommitdiffstats
path: root/bindings/rust/tests/build.rs.in
blob: 39a97ba4abf34b4d552bd21bbec84c068f5104d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (C) 2021-2023 Red Hat, Inc.
//
// All rights reserved.
//
// Author: Christine Caulfield (ccaulfi@redhat.com)
//

extern crate pkg_config;

fn main() {
    // Tell the compiler to use the build-tree libs & headers for compiling
    println!("cargo:rustc-link-search=native=../../../lib/.libs/");
    println!("cargo:rustc-link-search=native=../../../common_lib/.libs/");
    println!("cargo:rustc-flags=@LIBQBLIBS@");
    println!("cargo:rustc-link-lib=cpg");
    println!("cargo:rustc-link-lib=cfg");
    println!("cargo:rustc-link-lib=cmap");
    println!("cargo:rustc-link-lib=quorum");
    println!("cargo:rustc-link-lib=votequorum");
    println!("cargo:rustc-link-lib=corosync_common");
    println!("cargo:rustc-link-lib=qb");
}