From c06b6774e3e7f520883a9cdba5c2f5799497a13e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Andr=C3=A9=20Vadla=20Ravn=C3=A5s?= Date: Thu, 9 May 2024 23:34:18 +0200 Subject: [PATCH] setup: Fix the build output detection logic Which was still using the old path from before _frida moved. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index abf10d7..3ae601c 100644 --- a/setup.py +++ b/setup.py @@ -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)