qt: fix build with ~ssl. (#17767)
OpenSSL was pulled from the spec too early, leading to failures when attempting to build with ~ssl.
This commit is contained in:
parent
d1494fe8da
commit
90648bb477
@ -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):
|
|||||||
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,
|
||||||
|
Loading…
Reference in New Issue
Block a user