Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #15116 (closed defect: fixed)

Opened 7 months ago

Last modified 7 months ago

curl-config returns inappropriate flags

Reported by: jmr@… Owned by: ryandesign@…
Priority: Normal Milestone: Port Bugs
Component: ports Version:
Keywords: Cc:
Port:

Description

With curl built universal:

% curl-config --libs
-L/opt/local/lib -lcurl -L/opt/local/lib -arch i386 -arch ppc -L/opt/local/lib -L/opt/local/lib -lssl -lcrypto -lssl -lcrypto -lz -lz
% curl-config --static-libs
/opt/local/lib/libcurl.a -L/opt/local/lib -arch i386 -arch ppc -L/opt/local/lib -L/opt/local/lib -lssl -lcrypto -lssl -lcrypto -lz -lz

The output from all the other options seems OK. The redundancy isn't a real problem, but the -arch flags are, when building something non-universal that uses curl-config.

Change History

follow-up: ↓ 2   Changed 7 months ago by ryandesign@…

Oh. I fixed this for curl's pkg-config file with r33404, see #14077. curl-config should be easy to patch in a similar way.

What software are you building that's using curl-config?

in reply to: ↑ 1   Changed 7 months ago by jmr@…

Replying to ryandesign@macports.org:

What software are you building that's using curl-config?

I noticed it with gnupg2.

  Changed 7 months ago by ryandesign@…

  • status changed from new to closed
  • resolution set to fixed

Should be fixed in r36442; please verify.

  Changed 7 months ago by jmr@…

Updated version works correctly, thanks.

Note: See TracTickets for help on using tickets.