rename
This commit is contained in:
parent
aa46a936f2
commit
0126dd5220
@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "apt-native"
|
||||
name = "apt-pkg-native"
|
||||
version = "0.1.0"
|
||||
authors = ["Chris West (Faux) <git@goeswhere.com>"]
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
CXXFLAGS=-Wall -Wextra -g
|
||||
|
||||
all: libapt-c.a
|
||||
all: libapt-pkg-c.a
|
||||
|
||||
lib.o: lib.cpp lib.h
|
||||
|
||||
libapt-c.a: lib.o
|
||||
libapt-pkg-c.a: lib.o
|
||||
ar rcs $@ $<
|
||||
|
||||
clean:
|
||||
$(RM) libapt-c.a lib.o
|
||||
$(RM) libapt-pkg-c.a lib.o
|
2
build.rs
2
build.rs
@ -1,3 +1,3 @@
|
||||
fn main() {
|
||||
println!("cargo:rustc-link-search=apt-c")
|
||||
println!("cargo:rustc-link-search=apt-pkg-c")
|
||||
}
|
||||
|
@ -9,7 +9,7 @@ use libc::c_char;
|
||||
pub type PCache = *mut c_void;
|
||||
pub type PPkgIterator = *mut c_void;
|
||||
|
||||
#[link(name = "apt-c")]
|
||||
#[link(name = "apt-pkg-c")]
|
||||
#[link(name = "apt-pkg")]
|
||||
#[link(name = "stdc++")]
|
||||
extern {
|
||||
|
Loading…
Reference in New Issue
Block a user