Only require it on the CI or if pkg-config is found.pull/4790/head
parent
87652c80dc
commit
42b48cda98
2 changed files with 31 additions and 10 deletions
@ -0,0 +1,9 @@ |
||||
#!/usr/bin/env python3 |
||||
|
||||
import os |
||||
import shutil |
||||
|
||||
if 'CI' in os.environ or shutil.which('pkg-config'): |
||||
print('yes') |
||||
else: |
||||
print('no') |
Loading…
Reference in new issue