Ticket #29069: llvm-install_name.diff

File llvm-install_name.diff, 726 bytes (added by ryandesign (Ryan Carsten Schmidt), 14 years ago)

possible fix

  • Portfile

     
    44
    55name                    llvm
    66version                 2.9
     7revision                1
    78categories              lang
    89platforms               darwin
    910license                 UIUC/NCSA
     
    5354    }
    5455}
    5556
     57post-destroot {
     58    foreach x "BugpointPasses LLVMHello libEnhancedDisassembly libLLVM-${version} libLTO profile_rt" {
     59        system "install_name_tool -id ${prefix}/lib/${x}.dylib ${destroot}${prefix}/lib/${x}.dylib"
     60    }
     61}
     62
    5663#variant debug {
    5764#    configure.args-delete --disable-assertions
    5865#    configure.args-append --enable-debug-symbols