about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2023-04-18 23:19:39 +0200
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2023-04-18 23:19:39 +0200
commita0fc6cfe3753263d9a8da287ef3552a807d48b53 (patch)
treed243d60fa9db1dc9e593846144ec16c40392f2bc
parentf3a0f26acecf56d10b8d56eba4b330046f084ade (diff)
downloadfocaccia-miasm-a0fc6cfe3753263d9a8da287ef3552a807d48b53.tar.gz
focaccia-miasm-a0fc6cfe3753263d9a8da287ef3552a807d48b53.zip
Fix setup header
Signed-off-by: Fabrice Desclaux <fabrice.desclaux@cea.fr>
-rw-r--r--setup.py25
1 files changed, 18 insertions, 7 deletions
diff --git a/setup.py b/setup.py
index e3caec9f..a33f608f 100644
--- a/setup.py
+++ b/setup.py
@@ -254,13 +254,23 @@ def build_all():
                 "miasm/jitter/arch/JitCore_m68k.c"
             ]
         ),
-        Extension("miasm.jitter.Jitllvm",
-                  ["miasm/jitter/Jitllvm.c",
-                   "miasm/jitter/bn.c",
-                   "miasm/runtime/udivmodti4.c",
-                   "miasm/runtime/divti3.c",
-                   "miasm/runtime/udivti3.c"
-                  ]),
+        Extension(
+            "miasm.jitter.Jitllvm",
+            [
+                "miasm/jitter/Jitllvm.c",
+                "miasm/jitter/bn.c",
+                "miasm/runtime/udivmodti4.c",
+                "miasm/runtime/divti3.c",
+                "miasm/runtime/udivti3.c"
+            ],
+            depends=[
+                "miasm/runtime/export.h",
+                "miasm/runtime/int_endianness.h",
+                "miasm/runtime/int_lib.h",
+                "miasm/runtime/int_types.h",
+                "miasm/runtime/int_util.h",
+            ]
+        ),
         Extension("miasm.jitter.Jitgcc",
                   ["miasm/jitter/Jitgcc.c",
                    "miasm/jitter/bn.c",
@@ -311,6 +321,7 @@ def build_all():
                     "miasm": [
                         "jitter/*.h",
                         "jitter/arch/*.h",
+                        "runtime/*.h",
                         "VERSION"
                     ]
                 },