Ticket #503: deluge-1.0.0-use-multithreaded-boost.patch

File deluge-1.0.0-use-multithreaded-boost.patch, 636 bytes (added by anonymous, 16 years ago)

Mandriva patch

  • deluge-1.0.0/setup.py

    old new  
    145145        ] 
    146146 
    147147    # Modify the libs if necessary for systems with only -mt boost libs     
    148     if not os.path.exists( 
    149         os.path.join(sysconfig.PREFIX, "lib", "libboost_filesystem.so")): 
    150         # It's likely that this system doesn't have symlinks setup 
     148    if os.path.exists(os.path.join(sysconfig.get_config_vars()['LIBDIR'], \ 
     149        'libboost_filesystem-mt.so')): 
    151150        # So add '-mt' to the libraries 
    152151        for lib in _libraries: 
    153152            if lib[:6] == "boost_":