@@ -25,21 +25,21 @@ const LIBS: &'static str = "harfbuzz harfbuzz-icu icu-uc freetype2 graphite2 lib
25
25
26
26
#[ cfg( target_os = "macos" ) ]
27
27
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" ) ;
36
36
}
37
37
38
38
#[ cfg( target_os = "macos" ) ]
39
39
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" ) ;
43
43
}
44
44
45
45
@@ -54,7 +54,7 @@ fn c_platform_specifics(_: &mut gcc::Config) {
54
54
55
55
#[ cfg( not( target_os = "macos" ) ) ]
56
56
fn cpp_platform_specifics ( cfg : & mut gcc:: Config ) {
57
- cfg. file ( "tectonic/XeTeXFontMgr_FC.cpp" ) ;
57
+ cfg. file ( "tectonic/XeTeXFontMgr_FC.cpp" ) ;
58
58
}
59
59
60
60
0 commit comments