Bug 18779 - curl-config is utterly broken
Summary: curl-config is utterly broken
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: libcurl-devel (show other bugs)
Version: unstable
Hardware: all Linux
: P2 blocker
Assignee: Anton Farygin
QA Contact: qa-sisyphus
URL: http://cvs.fedora.redhat.com/viewvc/d...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-09 00:27 MSK by Dmitry V. Levin
Modified: 2009-02-09 01:58 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry V. Levin 2009-02-09 00:27:03 MSK
$ pkg-config libcurl --libs
-lcurl  
$ pkg-config libcurl --libs --static
-lcurl -lcares -lidn -lrt -lssl -lcrypto -ldl -lz  

$ curl-config --libs
-lcurl -lcares -lidn -lssl -lcrypto -lrt -lssl -lcrypto -ldl -lz
$ curl-config --static-libs
/usr/lib64/libcurl.a -lcares -lidn -lssl -lcrypto -lrt -lssl -lcrypto -ldl -lz

Build of 25+ packages is broken because of this inconsistency.

I think curl-config should be changed to trivial wrapper around "pkg-config libcurl".  Other distros does exactly that.
Comment 1 Dmitry V. Levin 2009-02-09 00:32:57 MSK
Trivial fix from FC:
http://cvs.fedora.redhat.com/viewvc/devel/curl/curl-7.15.3-multilib.patch?view=co
Comment 2 Anton Farygin 2009-02-09 01:58:33 MSK
fixed (7.19.3-alt2)