Skip to content

Add frameworks when linking a dynamic library #2747

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 2, 2015

Conversation

christiaanb
Copy link
Collaborator

This fixes the Cabal side of GHC trac #10568

@christiaanb
Copy link
Collaborator Author

I don't understand how my 1-line patch can have anything to do with the reported build failure. Perhaps somebody can explain what that unit-test is supposed to test? and how my patch, which simply adds some linker flags, would cause it to fail?

@23Skidoo
Copy link
Member

Restarted the Travis build. We've been seeing some spurious Travis failures lately.

@23Skidoo
Copy link
Member

23Skidoo commented Aug 1, 2015

And now it passes.

@23Skidoo
Copy link
Member

23Skidoo commented Aug 1, 2015

LGTM. Do you want this to also go into the 1.22 branch?

@christiaanb
Copy link
Collaborator Author

I would want it to end up in the branch that will be shipped with a future GHC 7.10.3, if that's the 1.22 branch, then yes.

23Skidoo added a commit that referenced this pull request Aug 2, 2015
Add frameworks when linking a dynamic library
@23Skidoo 23Skidoo merged commit 9a0e87c into haskell:master Aug 2, 2015
@23Skidoo
Copy link
Member

23Skidoo commented Aug 2, 2015

I would want it to end up in the branch that will be shipped with a future GHC 7.10.3

Then you need it in 1.22. Cherry-picked.

ghc-mirror pushed a commit to ghc/ghc that referenced this pull request Aug 5, 2015
This fixes the GHC side of trac #10568. So `cabal install
--ghc-options="-framework GLUT" GLUT` creates a correctly linked
GLUT.dylib. We still need to explictly pass `--ghc-options="-framework
GLUT"` because the Cabal side #10568 is not fixed.

Update: the Cabal side of #10568 is fixed by
[Cabal#2747](haskell/cabal#2747)

Test Plan: validate

Reviewers: austin, rwbarton, bgamari

Reviewed By: bgamari

Subscribers: rwbarton, thomie

Differential Revision: https://phabricator.haskell.org/D1115

GHC Trac Issues: #10568
ghc-mirror pushed a commit to ghc/ghc that referenced this pull request Sep 29, 2015
This fixes the GHC side of trac #10568. So `cabal install
--ghc-options="-framework GLUT" GLUT` creates a correctly linked
GLUT.dylib. We still need to explictly pass `--ghc-options="-framework
GLUT"` because the Cabal side #10568 is not fixed.

Update: the Cabal side of #10568 is fixed by
[Cabal#2747](haskell/cabal#2747)

Test Plan: validate

Reviewers: austin, rwbarton, bgamari

Reviewed By: bgamari

Subscribers: rwbarton, thomie

Differential Revision: https://phabricator.haskell.org/D1115

GHC Trac Issues: #10568
bgamari pushed a commit to bgamari/ghc that referenced this pull request Oct 22, 2015
This fixes the GHC side of trac #10568. So `cabal install
--ghc-options="-framework GLUT" GLUT` creates a correctly linked
GLUT.dylib. We still need to explictly pass `--ghc-options="-framework
GLUT"` because the Cabal side #10568 is not fixed.

Update: the Cabal side of #10568 is fixed by
[Cabal#2747](haskell/cabal#2747)

Test Plan: validate

Reviewers: austin, rwbarton, bgamari

Reviewed By: bgamari

Subscribers: rwbarton, thomie

Differential Revision: https://phabricator.haskell.org/D1115

GHC Trac Issues: #10568
ghc-mirror pushed a commit to ghc/ghc that referenced this pull request Oct 22, 2015
This fixes the GHC side of trac #10568. So `cabal install
--ghc-options="-framework GLUT" GLUT` creates a correctly linked
GLUT.dylib. We still need to explictly pass `--ghc-options="-framework
GLUT"` because the Cabal side #10568 is not fixed.

Update: the Cabal side of #10568 is fixed by
[Cabal#2747](haskell/cabal#2747)

Test Plan: validate

Reviewers: austin, rwbarton, bgamari

Reviewed By: bgamari

Subscribers: rwbarton, thomie

Differential Revision: https://phabricator.haskell.org/D1115

GHC Trac Issues: #10568
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants