How to link against frameworks that are not in the standard location?

Viewed 860

I tried to link against a private framework in /System/Library/PrivateFrameworks using

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

But the linker tells me that the MultitouchSupport framework was not found. I also tried

#[link(name = "/System/Library/PrivateFrameworks/MultitouchSupport", kind = "framework")]

and

#[link(name = "/System/Library/PrivateFrameworks/MultitouchSupport.framework", kind = "framework")]

with the file extension, but neither work.

Is it even possible to link against frameworks that are not in the standard location of /System/Library/Frameworks?

1 Answers
Related