mirror of
https://github.com/openharmony/third_party_rust_pkg-config-rs.git
synced 2026-07-01 20:54:20 -04:00
542 B
542 B
pkg-config-rs
A simple library meant to be used as a build dependency with Cargo packages in
order to use the system pkg-config tool (if available) to determine where a
library is located.
extern crate "pkg-config" as pkg_config;
fn main() {
pkg_config::find_library("foo").unwrap();
}
License
pkg-config-rs is primarily distributed under the terms of both the MIT
license and the Apache License (Version 2.0), with portions covered by various
BSD-like licenses.
See LICENSE-APACHE, and LICENSE-MIT for details.