Skip to content

Commit 24d68e2

Browse files
committed
Remove extras/msvcbuild.bat
1 parent 3107272 commit 24d68e2

File tree

2 files changed

+1
-176
lines changed

2 files changed

+1
-176
lines changed

extras/msvcbuild.bat

Lines changed: 0 additions & 173 deletions
This file was deleted.

src/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,6 @@ impl Build {
208208
let out_dir = self.out_dir.as_ref().expect("OUT_DIR is not set");
209209
let manifest_dir = Path::new(env!("CARGO_MANIFEST_DIR"));
210210
let source_dir = manifest_dir.join("luajit2");
211-
let extras_dir = manifest_dir.join("extras");
212211
let build_dir = out_dir.join("luajit-build");
213212

214213
// Cleanup
@@ -226,8 +225,7 @@ impl Build {
226225
let mut msvcbuild = Command::new(build_dir.join("src").join("msvcbuild.bat"));
227226
msvcbuild.current_dir(build_dir.join("src"));
228227
if self.lua52compat {
229-
cp_r(&extras_dir, &build_dir.join("src"));
230-
msvcbuild.arg("lua52c");
228+
msvcbuild.arg("lua52compat");
231229
}
232230
msvcbuild.arg("static");
233231

0 commit comments

Comments
 (0)