Skip to content

Commit c641952

Browse files
committed
Expose Lua lib and include dirs
1 parent 141aeae commit c641952

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,8 @@ impl Artifacts {
284284
for lib in self.libs.iter() {
285285
println!("cargo:rustc-link-lib=static:-bundle={lib}");
286286
}
287+
println!("cargo:include={}", self.include_dir.display());
288+
println!("cargo:lib={}", self.lib_dir.display());
287289
}
288290
}
289291

0 commit comments

Comments
 (0)