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
|
||||
def common_config_args(self):
|
||||
# incomplete list is here http://doc.qt.io/qt-5/configure-options.html
|
||||
openssl = self.spec['openssl']
|
||||
config_args = [
|
||||
'-prefix', self.prefix,
|
||||
'-v',
|
||||
@ -389,6 +388,7 @@ def common_config_args(self):
|
||||
config_args.append('-no-freetype')
|
||||
|
||||
if '+ssl' in self.spec:
|
||||
openssl = self.spec['openssl']
|
||||
config_args.extend([
|
||||
'-openssl-linked',
|
||||
openssl.libs.search_flags,
|
||||
|
Loading…
Reference in New Issue
Block a user