FreeBSD online linker URL support

This commit is contained in:
David Carlier 2020-01-19 12:15:16 +00:00
parent f83f74598d
commit b3e76e082e

View File

@ -60,7 +60,7 @@ namespace Online
{
Log::error("OpenURL", "Command returned non-zero exit status");
}
#elif defined(__linux__)
#elif defined(__linux__) || defined(__FreeBSD__)
std::string command = std::string("xdg-open ").append(url);
const char* lib_path = getenv("LD_LIBRARY_PATH");