From 453f8021448705cc8edcac1c34a06a4aba7b7db7 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sat, 3 Jul 2021 15:49:16 +0300 Subject: [PATCH] aedi: handle pcre-config creation --- aedi/target/library_tier1.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/aedi/target/library_tier1.py b/aedi/target/library_tier1.py index 832db697..6faad341 100644 --- a/aedi/target/library_tier1.py +++ b/aedi/target/library_tier1.py @@ -428,6 +428,10 @@ class PcreTarget(ConfigureMakeStaticDependencyTarget): def detect(self, state: BuildState) -> bool: 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): def __init__(self, name='sndfile'):