Skip to content

libusb1: avoid -lgcc_s on darwin#1151

Closed
kowey wants to merge 1 commit intoNixOS:masterfrom
kowey:master
Closed

libusb1: avoid -lgcc_s on darwin#1151
kowey wants to merge 1 commit intoNixOS:masterfrom
kowey:master

Conversation

@kowey
Copy link
Contributor

@kowey kowey commented Oct 30, 2013

I confess I don't really understand the implications of this, but other packages seem to use the same fix, stating only that libgcc_s isn't available. I'm just trying to make gnupg build! (it depends on libusb)

@Phreedom Phreedom closed this in 0f8b1b1 Oct 30, 2013
@vcunat
Copy link
Member

vcunat commented Oct 30, 2013

Hmm, I didn't know that our gccApple doesn't have/need libgcc_s.

@Phreedom
Copy link
Member

it looks like we need a more generic way to handle this. maybe add a gcc
property that evaluates to proper ld flags to link/not link against this lib?

@vcunat
Copy link
Member

vcunat commented Oct 30, 2013

It would be best if we could patch gcc at configure-time to always link those libs iff they are needed.

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

Labels

12.first-time contribution This PR is the author's first one; please be gentle!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants