sip: fix python_include_dir (#26953)
This commit is contained in:
parent
5c13c5892b
commit
8e4d5a0922
@ -99,7 +99,9 @@ def configure(self, spec, prefix):
|
|||||||
|
|
||||||
args = self.configure_args()
|
args = self.configure_args()
|
||||||
|
|
||||||
python_include_dir = 'python' + str(spec['python'].version.up_to(2))
|
python_include_dir = os.path.basename(
|
||||||
|
inspect.getmodule(self).python_include_dir
|
||||||
|
)
|
||||||
|
|
||||||
args.extend([
|
args.extend([
|
||||||
'--verbose',
|
'--verbose',
|
||||||
|
Loading…
Reference in New Issue
Block a user