summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/build-python5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/build-python b/bin/build-python
index b8dd61ba..242a609c 100755
--- a/bin/build-python
+++ b/bin/build-python
@@ -23,6 +23,11 @@ if [ "$BUILD" = "osx" ]; then
fi
fi
+if [ "$BUILD" = "linux" ]; then
+ pyinstaller_args+="--hidden-import gi.repository.Gtk "
+fi
+
+
if [ "$BUILD" = "windows" ]; then
if [[ "$VERSION" =~ ^v[0-9][.0-9]+$ ]]; then
# setting the file and product version for release