Skip to content
Snippets Groups Projects
Unverified Commit 90648bb4 authored by Matthias Wolf's avatar Matthias Wolf Committed by GitHub
Browse files

qt: fix build with ~ssl. (#17767)

OpenSSL was pulled from the spec too early, leading to failures when
attempting to build with ~ssl.
parent d1494fe8
No related branches found
No related tags found
No related merge requests found
...@@ -363,7 +363,6 @@ def patch(self): ...@@ -363,7 +363,6 @@ def patch(self):
@property @property
def common_config_args(self): def common_config_args(self):
# incomplete list is here http://doc.qt.io/qt-5/configure-options.html # incomplete list is here http://doc.qt.io/qt-5/configure-options.html
openssl = self.spec['openssl']
config_args = [ config_args = [
'-prefix', self.prefix, '-prefix', self.prefix,
'-v', '-v',
...@@ -389,6 +388,7 @@ def common_config_args(self): ...@@ -389,6 +388,7 @@ def common_config_args(self):
config_args.append('-no-freetype') config_args.append('-no-freetype')
if '+ssl' in self.spec: if '+ssl' in self.spec:
openssl = self.spec['openssl']
config_args.extend([ config_args.extend([
'-openssl-linked', '-openssl-linked',
openssl.libs.search_flags, openssl.libs.search_flags,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment