setup: Fix the build output detection logic

Which was still using the old path from before _frida moved.
This commit is contained in:
Ole André Vadla Ravnås committed 2024-05-09 23:34:42 +02:00
1 parent 1086ae645d
commit c06b6774e3
1 file changed
+1 -1
+1 -1
View File
@@ -119,7 +119,7 @@ class FridaDemandBuiltExt(build_ext):
make = SOURCE_ROOT / "make.bat" if platform.system() == "Windows" else "make"
subprocess.run([make], check=True)
outputs = [entry for entry in (SOURCE_ROOT / "build" / "src").glob("_frida.*") if entry.is_file()]
outputs = [entry for entry in (SOURCE_ROOT / "build" / "frida" / "_frida").glob("_frida.*") if entry.is_file()]
assert len(outputs) == 1
target = self.get_ext_fullpath(ext.name)
Path(target).parent.mkdir(parents=True, exist_ok=True)