mirror of https://gitlab.com/pamhyr/pamhyr2
Meshing: Mage: Fix libbief extention under windows system.
parent
f73b9b06c0
commit
0ace259d2d
|
|
@ -53,10 +53,12 @@ class MeshingWithMage(AMeshingTool):
|
||||||
self._init_c_output_bief()
|
self._init_c_output_bief()
|
||||||
|
|
||||||
def _lib_path(self):
|
def _lib_path(self):
|
||||||
|
ext = "so" if os.name == "posix" else "dll"
|
||||||
|
|
||||||
return os.path.abspath(
|
return os.path.abspath(
|
||||||
os.path.join(
|
os.path.join(
|
||||||
os.path.dirname(__file__),
|
os.path.dirname(__file__),
|
||||||
"..", "..", "..", "mage", "libbief.so"
|
"..", "..", "..", "mage", f"libbief.{ext}"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue