Skip to content

could use more options for framework linking on mac #751

Open
bos opened this Issue May 24, 2012 · 1 comment

3 participants

@bos
Haskell member
bos commented May 24, 2012

(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.

@bos
Haskell member
bos commented May 24, 2012

(Imported comment by @dcoutts on 2010-11-10)

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.

@23Skidoo 23Skidoo modified the milestone: Cabal-1.22, Cabal-1.18 Apr 20, 2014
@ttuegel ttuegel modified the milestone: Cabal-1.24, Cabal-1.22 Apr 23, 2015
@23Skidoo 23Skidoo modified the milestone: Cabal 1.24, Cabal 1.26 Feb 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.