Ticket #3930: boost_python_jam.patch

File boost_python_jam.patch, 1.2 KB (added by boost.calin79@…, 10 years ago)

Patch to make building against UCS4 python on OSX work

  • tools/build/v2/tools/python.jam

     
    976976    # the Python framework, even when building extensions. Note that framework
    977977    # builds of Python always use shared libraries, so we do not need to worry
    978978    # about duplicate Python symbols.
    979     if $(target-os) in windows cygwin darwin
     979    if $(target-os) in windows cygwin
    980980    {
    981981        alias python_for_extensions : python : $(target-requirements) ;
    982982    }
  • tools/build/v2/tools/darwin.jam

     
    465465}
    466466
    467467# Set the max header padding to allow renaming of libs for installation.
    468 flags darwin.link.dll OPTIONS : -headerpad_max_install_names ;
     468flags darwin.link.dll OPTIONS : -headerpad_max_install_names -undefined dynamic_lookup ;
    469469
    470470# To link the static runtime we need to link to all the core runtime libraries.
    471471flags darwin.link OPTIONS <runtime-link>static