aedi: handle pcre-config creation

This commit is contained in:
alexey.lysiuk 2021-07-03 15:49:16 +03:00
parent d992328918
commit 453f802144

View file

@ -428,6 +428,10 @@ class PcreTarget(ConfigureMakeStaticDependencyTarget):
def detect(self, state: BuildState) -> bool: def detect(self, state: BuildState) -> bool:
return os.path.exists(state.source + 'pcre.h.in') return os.path.exists(state.source + 'pcre.h.in')
def post_build(self, state: BuildState):
super().post_build(state)
self.update_config_script(state.install_path + '/bin/pcre-config')
class SndFileTarget(CMakeStaticDependencyTarget): class SndFileTarget(CMakeStaticDependencyTarget):
def __init__(self, name='sndfile'): def __init__(self, name='sndfile'):