[CI] Fix wrong externals path

This commit is contained in:
Mat Sutcliffe
2020-09-15 00:21:10 +01:00
parent 980477dcb6
commit 96bdad32e6

View File

@@ -203,9 +203,7 @@ class Builder:
return True return True
def _get_externals_path(self): def _get_externals_path(self):
qmake_spec = self._get_qmake_spec() return path.abspath(path.join(self._get_swift_source_path(), 'externals', self._get_qmake_spec(), self.word_size, 'lib'))
lib_path = 'lib' + self.word_size
return path.abspath(path.join(self._get_swift_source_path(), 'externals', qmake_spec, lib_path))
def __init__(self, word_size): def __init__(self, word_size):
self.__source_path = path.abspath(path.join(os.path.dirname(os.path.realpath(__file__)), os.pardir)) self.__source_path = path.abspath(path.join(os.path.dirname(os.path.realpath(__file__)), os.pardir))