Skip to content

Instantly share code, notes, and snippets.

@Inndy
Last active November 13, 2018 12:16
Show Gist options
  • Save Inndy/cc9f725c22f23fe87182fd895e7e7ff3 to your computer and use it in GitHub Desktop.
Save Inndy/cc9f725c22f23fe87182fd895e7e7ff3 to your computer and use it in GitHub Desktop.

Usage

export MACOS_UNIVERSAL=no
pip install capstone # or something depends on capstone

Fore more detail...

Refer to this issue: capstone-engine/capstone#1235

Updated!

Actually we don't need to write a fake make to fix this problem. A better and more elegant way is that set a environment variable to tell capstone not to compile a multi-arch mach-o file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment