From 68e54f7b59295797d844c28da1772e6ae24f08bb Mon Sep 17 00:00:00 2001 From: Raphael Graf Date: Wed, 5 Jun 2019 10:10:49 +0200 Subject: Fix the checks for bsd platform --- build/qt5.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build/qt5.py') diff --git a/build/qt5.py b/build/qt5.py index 30adc4067e..90a9422780 100644 --- a/build/qt5.py +++ b/build/qt5.py @@ -936,7 +936,7 @@ def enable_modules(self, modules, debug=False, crosscompiling=False, staticdeps= except: pass debugSuffix = '' if (sys.platform.startswith("linux") or sys.platform.startswith("darwin") or - sys.platform.find("bsd")) and not crosscompiling : + sys.platform.find("bsd") >= 0) and not crosscompiling : if debug : debugSuffix = '_debug' # Call _find_qtdirs with QtCore to get at least one initialized for later usage with RPATH qt_dirs = _find_qtdirs("$QT5DIR","QtCore") -- cgit v1.2.3