From bb17adeda2de4c9c03bfef7a45c1cd65a82a2c39 Mon Sep 17 00:00:00 2001 From: William Ballenthin Date: Fri, 5 Mar 2021 13:23:15 -0700 Subject: [PATCH] pyinstaller: smda: collect capstone shared library --- .github/pyinstaller/hooks/hook-smda.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/pyinstaller/hooks/hook-smda.py b/.github/pyinstaller/hooks/hook-smda.py index 90ea8060..02270706 100644 --- a/.github/pyinstaller/hooks/hook-smda.py +++ b/.github/pyinstaller/hooks/hook-smda.py @@ -1,5 +1,4 @@ # Copyright (C) 2020 FireEye, Inc. All Rights Reserved. +import PyInstaller.utils.hooks -hiddenimports = [ - "capstone", -] +binaries = PyInstaller.utils.hooks.collect_dynamic_libs("capstone") \ No newline at end of file