Ignore:
Timestamp:
Jan 1, 2014, 7:13:35 AM (5 years ago)
Author:
jeremyhu@…
Message:

xcode-1.0: Link against the correct C++ runtime

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/xcode-1.0.tcl

    r96776 r115391  
    246246proc xcode::get_build_args {args} {
    247247    global tcl_platform
    248     global configure.universal_archs configure.build_arch macosx_deployment_target
     248    global configure.universal_archs configure.build_arch configure.cxx_stdlib macosx_deployment_target
    249249    global os.major os.arch
    250250    global developer_dir configure.sdkroot
     
    277277    }
    278278
     279    # CLANG_CXX_LIBRARY
     280    # TODO: Simplify once MacPorts 2.3 is released
     281    if {[info exists configure.cxx_stdlib]} {
     282        append xcode_build_args " CLANG_CXX_LIBRARY=\"${configure.cxx_stdlib}\""
     283    }
     284
    279285    return $xcode_build_args
    280286}
Note: See TracChangeset for help on using the changeset viewer.