Bug 18779

Summary: curl-config is utterly broken
Product: Sisyphus Reporter: Dmitry V. Levin <ldv>
Component: libcurl-develAssignee: Anton Farygin <rider>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: blocker    
Priority: P2 CC: glebfm, ldv, rider
Version: unstable   
Hardware: all   
OS: Linux   
URL: http://cvs.fedora.redhat.com/viewvc/devel/curl/curl-7.15.3-multilib.patch?view=co

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)