Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1946299
Summary: | Better handling of curl-config for split static package | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Cristian Ciupitu <cristian.ciupitu> |
Component: | mingw-curl | Assignee: | Michael Cronenworth <mike> |
Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 34 | CC: | erik-fedora, mike |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | Bug | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Any news on this? The problem is that upstream built the curl-config script to be specific to the build environment. It doesn't support the combined shared/static library set we produce in our packaging. You either have a shared-aware curl-config or a static-aware curl-config. It doesn't allow for you to support both if both shared and static library packages are installed. I could patch together a curl-config that does support both, but I do not have the spare cycles to do this. If you want to discuss this with upstream please go ahead. https://github.com/curl/curl/issues Couldn't we have a separate curl-static-config tool? |
Description of problem: Can not cross-compile programs using the curl library, as static executables. Version-Release number of selected component (if applicable): mingw32-curl-static-7.76.0-1.fc34.noarch mingw64-curl-static-7.76.0-1.fc34.noarch How reproducible: Every time Steps to Reproduce: 1. CC=x86_64-w64-mingw32-gcc or CC=i686-w64-mingw32-gcc 2. $(${CC} -print-sysroot)/mingw/bin/curl-config --static-libs Actual results: > curl was built with static libraries disabled Expected results: a list of libraries Additional info: