diff --git a/SConscript b/SConscript index 3890a6741f6063e820826d00efbfe3954b1b348b..a2fc2e5252f99d7d382066d930582f5cb76d08d9 100644 --- a/SConscript +++ b/SConscript @@ -63,6 +63,7 @@ Export('env') # get the libcapstone.so.[version] file regardless of the version extension libcapstone_path = Glob(os.environ['SECURITY_TRANSFORMS_HOME']+'/libcapstone/libcapstone.so.*') +assert len(libcapstone_path) <= 1, "More than one candidate for libcapstone.so.[version]?!" libcapstone_path = env.Install("$SECURITY_TRANSFORMS_HOME/lib/", libcapstone_path)