summaryrefslogtreecommitdiff
path: root/python/generator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'python/generator.cpp')
-rw-r--r--python/generator.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/generator.cpp b/python/generator.cpp
index 4901b07a..ed28e6f3 100644
--- a/python/generator.cpp
+++ b/python/generator.cpp
@@ -160,6 +160,11 @@ int main(int argc, char* argv[])
return 1;
}
+ if (getenv("BN_LICENSE"))
+ {
+ BNSetLicense(getenv("BN_LICENSE"));
+ }
+
Architecture::Register(new GeneratorArchitecture());
// Parse API header to get type and function information