fakexrandr: mkdir for install (#29845)

This commit is contained in:
Qian Jianhua
2022-04-25 20:42:15 +08:00
committed by GitHub
parent 02a7fc69ed
commit 57968e7ad4

View File

@@ -44,3 +44,10 @@ def edit(self, spec, prefix):
if 'platform=darwin' in spec: if 'platform=darwin' in spec:
makefile.filter('ldconfig', '') makefile.filter('ldconfig', '')
# In Makefile, install commands check the target dir.
# If it does not exist, process will stop.
@run_before('install')
def make_target_dir(self):
mkdirp(self.prefix.lib)
mkdirp(self.prefix.bin)