brson / rust-sdl

SDL bindings for Rust
MIT License
179 stars 52 forks source link

Moved away from link_args as the compiler no longer likes them #114

Closed AngryLawyer closed 10 years ago

AngryLawyer commented 10 years ago

I've moved to the modern form of linking to external packages. However, I've not got access to an OSX machine that can actually build Rust at the moment, so I'm not sure this will work if mac_framework is set. Still, other than that it seems happy on my Linux box.

zargony commented 10 years ago

I think for cfg(mac_framework), the link statements should be

#[link(name="SDL_image", kind="framework")]

I couldn't verify that it builds that way since I don't have the SDL framework files, but this calls the linker with the right arguments to use the framework.

lifthrasiir commented 10 years ago

This is addressed by #117 and #119 now.