Bug 134637

Summary: "-static" linking not available on darwin
Product: [Fedora] Fedora Reporter: Anders F Björklund <afb>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED UPSTREAM QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: nobody+pnasrat
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-01-04 19:45:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
rpm-4.3.2-static.patch none

Description Anders F Björklund 2004-10-05 11:22:15 UTC
Description of problem:
Mac OS X and Darwin does not allow static linking of binaries

Version-Release number of selected component (if applicable):
4.3.2-5

How reproducible:
Always (on this platform)

Steps to Reproduce:
1. Use thed default LDFLAGS_STATIC="-all-static"


Additional info:
http://developer.apple.com/qa/qa2001/qa1118.html

Comment 1 Anders F Björklund 2004-10-05 11:24:12 UTC
Created attachment 104775 [details]
rpm-4.3.2-static.patch

Special case LDFLAGS, for the darwin platform

Comment 2 Jeff Johnson 2004-10-05 11:33:25 UTC
Static linking breaks often enough on linux that
it is hardly "available".

Rather than attempting per-platform LDFLAGS, it's easier
to just disable the only use linking rpmi.

Comment 3 Jeff Johnson 2005-01-04 19:45:49 UTC
Added to HEAD and rpm-4_4 branches, should be in rpm-4.4.1-0.6 when built.
Thanks for the patch.