Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

ENV: remove -L from CFLAGS. #13292

Closed
wants to merge 1 commit into from

Conversation

samueljohn
Copy link
Contributor

SDK/usr/include and lib now appended instead of prepended.
Prepending overwrote our precedence of HOMEBREW_PREFIX/include and lib.

This fixes #13225 and I can compile ruby now on a xcode_only system.

SDK/usr/include and lib now appended instead of prepended.
Prepending overwrote our precedence of HOMEBREW_PREFIX/include and lib.
@adamv
Copy link
Contributor

adamv commented Jul 9, 2012

And we prefer this to manually fixing up formulae that only use CFLAGS (and submitting patches upstream?)

@samueljohn
Copy link
Contributor Author

@adamv Yes, I do. "-L" in CFLAGS is not so beautiful.
I added it myself in order to get python compiled on xcode-only systems. But now seeing the issue with ruby (and perhaps others), I think it's cleaner to add it where necessary instead of spamming CFLAGS.

Also it is harder to remove something from the CFLAGS than to add it. From my experience, only few formulae need this.

But feel free to close this, if you disagree.

@adamv adamv closed this in e88c682 Jul 9, 2012
Sharpie pushed a commit to Sharpie/homebrew that referenced this pull request Jul 9, 2012
SDK/usr/include and lib now appended instead of prepended.
Prepending overwrote our precedence of HOMEBREW_PREFIX/include and lib.

Closes Homebrew#13292.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
eproxus pushed a commit to eproxus/homebrew that referenced this pull request Jul 18, 2012
SDK/usr/include and lib now appended instead of prepended.
Prepending overwrote our precedence of HOMEBREW_PREFIX/include and lib.

Closes Homebrew#13292.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
snakeyroc3 pushed a commit to snakeyroc3/homebrew that referenced this pull request Dec 17, 2012
SDK/usr/include and lib now appended instead of prepended.
Prepending overwrote our precedence of HOMEBREW_PREFIX/include and lib.

Closes Homebrew#13292.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
@Homebrew Homebrew locked and limited conversation to collaborators Feb 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

brew install ruby failure
2 participants