summary refs log blame commit diff
path: root/usb_util/build.rs
blob: 34e14da96c42d4196f3ca9a0b40d467b15212039 (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                                                                         





                                                     
// Copyright 2018 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

use std::env;

fn main() {
    env::set_var("PKG_CONFIG_ALLOW_CROSS", "1");
    pkg_config::probe_library("libusb-1.0").unwrap();
}