Changeset 381 for trunk/util/collect2

Show
Ignore:
Timestamp:
07/23/08 01:47:18 (6 months ago)
Author:
saurik
Message:

Worked around an issue in some package that uses the collection backend to link something that isn't a .o.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/util/collect2

    r319 r381  
    1717            mmacosx_version_min=${1#-mmacosx-version-min=} 
    1818        elif [[ $1 == -o ]]; then 
    19             o=$2 
     19            if [[ $2 != *.o ]]; then 
     20                o=$2 
     21            fi 
    2022            shift 
    2123        fi; shift