Fix ROCm build on FreeBSD.

This commit is contained in:
Gleb Popov 2019-05-13 21:16:06 +04:00
parent 4295de104c
commit cbea2355ec

View File

@ -301,7 +301,7 @@ def _lib_name(lib, cpu_value, version = "", static = False):
Returns: Returns:
The platform-specific name of the library. The platform-specific name of the library.
""" """
if cpu_value in ("Linux"): if cpu_value in ("Linux", "FreeBSD"):
if static: if static:
return "lib%s.a" % lib return "lib%s.a" % lib
else: else: