mesa: re-introduce the libs property (#15716)

They were originally added in #8904 and later removed (why?) in #10482.
This commit is contained in:
Veselin Dobrev 2020-03-28 03:30:05 -07:00 committed by GitHub
parent db67b78fb9
commit 9f7255da71
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -174,3 +174,11 @@ def configure_args(self):
args.append('--with-dri-drivers=' + ','.join(args_dri_drivers)) args.append('--with-dri-drivers=' + ','.join(args_dri_drivers))
return args return args
@property
def libs(self):
for dir in ['lib64', 'lib']:
libs = find_libraries('libGL', join_path(self.prefix, dir),
shared=True, recursive=False)
if libs:
return libs