Skip to content

Commit 630259e

Browse files
committed
build.rs: fix indentation in the platform-specifics functions
1 parent 0ec2e87 commit 630259e

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

build.rs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,21 @@ const LIBS: &'static str = "harfbuzz harfbuzz-icu icu-uc freetype2 graphite2 lib
2525

2626
#[cfg(target_os = "macos")]
2727
fn c_platform_specifics(cfg: &mut gcc::Config) {
28-
cfg.define("XETEX_MAC", Some("1"));
29-
cfg.file("tectonic/XeTeX_mac.c");
30-
31-
println!("cargo:rustc-link-lib=framework=Foundation");
32-
println!("cargo:rustc-link-lib=framework=CoreFoundation");
33-
println!("cargo:rustc-link-lib=framework=CoreGraphics");
34-
println!("cargo:rustc-link-lib=framework=CoreText");
35-
println!("cargo:rustc-link-lib=framework=AppKit");
28+
cfg.define("XETEX_MAC", Some("1"));
29+
cfg.file("tectonic/XeTeX_mac.c");
30+
31+
println!("cargo:rustc-link-lib=framework=Foundation");
32+
println!("cargo:rustc-link-lib=framework=CoreFoundation");
33+
println!("cargo:rustc-link-lib=framework=CoreGraphics");
34+
println!("cargo:rustc-link-lib=framework=CoreText");
35+
println!("cargo:rustc-link-lib=framework=AppKit");
3636
}
3737

3838
#[cfg(target_os = "macos")]
3939
fn cpp_platform_specifics(cfg: &mut gcc::Config) {
40-
cfg.define("XETEX_MAC", Some("1"));
41-
cfg.file("tectonic/XeTeXFontInst_Mac.cpp");
42-
cfg.file("tectonic/XeTeXFontMgr_Mac.mm");
40+
cfg.define("XETEX_MAC", Some("1"));
41+
cfg.file("tectonic/XeTeXFontInst_Mac.cpp");
42+
cfg.file("tectonic/XeTeXFontMgr_Mac.mm");
4343
}
4444

4545

@@ -54,7 +54,7 @@ fn c_platform_specifics(_: &mut gcc::Config) {
5454

5555
#[cfg(not(target_os = "macos"))]
5656
fn cpp_platform_specifics(cfg: &mut gcc::Config) {
57-
cfg.file("tectonic/XeTeXFontMgr_FC.cpp");
57+
cfg.file("tectonic/XeTeXFontMgr_FC.cpp");
5858
}
5959

6060

0 commit comments

Comments
 (0)