Ignore:
Timestamp:
Aug 19, 2007, 4:31:39 PM (13 years ago)
Author:
landonf@…
Message:

Include my patch for libtool support. Fixes linking of dylibs/bundles using static archives, eg:

arm-apple-darwin-cc -dynamiclib -o test.dylib input.a

Patch submitted to upstream, see:

http://developer.berlios.de/bugs/?func=detailbug&bug_id=11802&group_id=8664

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/cross/arm-apple-darwin-binutils/Portfile

    r27828 r28059  
    44name                    arm-apple-darwin-binutils
    55version                 r118
     6revision                1
    67categories              cross iphone
    78maintainers             landonf@macports.org openmaintainer@macports.org
     
    1819depends_build           port:Libstreams
    1920
    20 patchfiles              patch-Makefile.in
     21patchfiles              patch-Makefile.in \
     22                        patch-libtool-driver
    2123
    2224set iphone_prefix       ${prefix}/arm-apple-darwin
     
    5052        system "cd ${destroot}/${prefix}/bin && ln -s ${iphone_prefix}/bin/arm-apple-darwin-ld ./"
    5153        system "cd ${destroot}/${prefix}/bin && ln -s ${iphone_prefix}/bin/arm-apple-darwin-as ./"
     54        system "cd ${destroot}/${prefix}/bin && ln -s ${iphone_prefix}/bin/arm-apple-darwin-libtool ./"
    5255
    5356        # Set up non-prefixed binaries in the iphone bin directory
    5457        system "cd ${destroot}/${iphone_prefix}/bin && ln -s arm-apple-darwin-ld ld"
    5558        system "cd ${destroot}/${iphone_prefix}/bin && ln -s arm-apple-darwin-as as"
     59        system "cd ${destroot}/${iphone_prefix}/bin && ln -s arm-apple-darwin-as libtool"
    5660}
Note: See TracChangeset for help on using the changeset viewer.