Ticket #2386: bcp2.patch

File bcp2.patch, 486 bytes (added by Daniel James, 14 years ago)
  • bcp_imp.cpp

     
    7878
    7979void bcp_implementation::set_boost_path(const char* p)
    8080{
    81    m_boost_path = fs::path(p, fs::native);
     81   // Hack to strip trailing slashes from the path
     82   m_boost_path = (fs::path(p, fs::native) / ".").parent_path();
    8283   fs::path check = m_boost_path / "boost" / "version.hpp";
    8384   if(!fs::exists(check))
    8485   {