could use more options for framework linking on mac #751

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

Comments

Projects
None yet
4 participants
@bos
Contributor

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

This comment has been minimized.

Show comment
Hide comment
@bos

bos May 24, 2012

Contributor

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

Contributor

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 milestones: Cabal-1.22, Cabal-1.18 Apr 20, 2014

@ttuegel ttuegel modified the milestones: Cabal-1.24, Cabal-1.22 Apr 23, 2015

@23Skidoo 23Skidoo modified the milestones: Cabal 1.24, Cabal 1.26 Feb 21, 2016

@ezyang ezyang modified the milestone: Cabal 2.0 Sep 6, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment