Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
could use more options for framework linking on mac #751
(Imported from Trac #761, reported by simonmic on 2010-11-10)
It seems you can list apple frameworks in a .cabal file like other libs, but I'm not sure how to influence where cabal looks for those frameworks. When trying to link with some in a non-standard place, I wished for an --extra-framework-dirs option. There is a rumoured -framework option, I haven't found much info in --help or online about all this.
The point here is that .cabal files have:
extra-libraries: extra-lib-dirs:And cabal configure has an --extra-lib-dirs flag too because people install things in non-standard places.
For frameworks we only have a frameworks field in the .cabal file and no way to specify extra search dirs either in the .cabal file or on the command line. This stuff should mirror what we have for ordinary C libs.