mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Meshing: Mage: Fix libbief extention under windows system.
This commit is contained in:
1 parent
f73b9b06c0
commit
0ace259d2d
1 file changed
+3
-1
+3
-1
@@ -53,10 +53,12 @@ class MeshingWithMage(AMeshingTool):
|
||||
self._init_c_output_bief()
|
||||
|
||||
def _lib_path(self):
|
||||
ext = "so" if os.name == "posix" else "dll"
|
||||
|
||||
return os.path.abspath(
|
||||
os.path.join(
|
||||
os.path.dirname(__file__),
|
||||
"..", "..", "..", "mage", "libbief.so"
|
||||
"..", "..", "..", "mage", f"libbief.{ext}"
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user