From 4aa64d8538256347d9a95e9c032e128d87484f35 Mon Sep 17 00:00:00 2001 From: Tomasz 'CeDeROM' CEDRO Date: Wed, 12 May 2021 21:37:42 +0200 Subject: [PATCH] Enable detection and build on all BSD systems. With FreeBSD, OpenBSD, NetBSD verified we can simply use "bsd". Signed-off-by: Tomasz 'CeDeROM' CEDRO --- bindings/python/setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/python/setup.py b/bindings/python/setup.py index ab92fa98fe..7a1eaafd09 100755 --- a/bindings/python/setup.py +++ b/bindings/python/setup.py @@ -140,8 +140,8 @@ def build_libraries(): # Do not build tests & static library os.system('cmake -DCMAKE_BUILD_TYPE=RELEASE -DCAPSTONE_BUILD_TESTS=0 -DCAPSTONE_BUILD_STATIC=0 -G "NMake Makefiles" ..') os.system("nmake") - elif "freebsd" in SYSTEM: - # FreeBSD distinguishes make (BSD) vs gmake (GNU). Use cmake + bsd make :-) + elif "bsd" in SYSTEM: + # *BSD distinguishes make (BSD) vs gmake (GNU). Use cmake + bsd make :-) if not os.path.exists("build"): os.mkdir("build") os.chdir("build") # Do not build tests & static library