Skip to content

Commit 808e489

Browse files
authored
Merge pull request #1219 from benjaminmordaunt/patch-1
Add missing CoreHaptics framework for macOS compilation
2 parents 6e078fe + ae41d05 commit 808e489

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sdl2-sys/build.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ fn link_sdl2(target_os: &str) {
208208
println!("cargo:rustc-flags=-l framework=CoreMotion");
209209
println!("cargo:rustc-flags=-l framework=Foundation");
210210
println!("cargo:rustc-flags=-l framework=GameController");
211+
println!("cargo:rustc-flags=-l framework=CoreHaptics");
211212
println!("cargo:rustc-flags=-l framework=OpenGLES");
212213
println!("cargo:rustc-flags=-l framework=QuartzCore");
213214
println!("cargo:rustc-flags=-l framework=UIKit");
@@ -253,6 +254,7 @@ fn link_sdl2(target_os: &str) {
253254
println!("cargo:rustc-link-lib=framework=Carbon");
254255
println!("cargo:rustc-link-lib=framework=ForceFeedback");
255256
println!("cargo:rustc-link-lib=framework=GameController");
257+
println!("cargo:rustc-link-lib=framework=CoreHaptics");
256258
println!("cargo:rustc-link-lib=framework=CoreVideo");
257259
println!("cargo:rustc-link-lib=framework=CoreAudio");
258260
println!("cargo:rustc-link-lib=framework=AudioToolbox");

0 commit comments

Comments
 (0)