2
0
Эх сурвалжийг харах

Fixing Mac OS building issues

Ilya Pomaskin 11 жил өмнө
parent
commit
67506144ae
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      lib/VCMIDirs.cpp

+ 1 - 1
lib/VCMIDirs.cpp

@@ -448,7 +448,7 @@ std::vector<bfs::path> VCMIDirsOSX::dataPaths() const
 bfs::path VCMIDirsOSX::libraryPath() const { return "."; }
 bfs::path VCMIDirsOSX::binaryPath() const { return "."; }
 
-std::string libraryName(const std::string& basename) { return "lib" + basename + ".dylib"; }
+std::string VCMIDirsOSX::libraryName(const std::string& basename) const { return "lib" + basename + ".dylib"; }
 #elif defined(VCMI_LINUX)
 class VCMIDirsLinux : public IVCMIDirsUNIX
 {