aedi: remove extra directory from instpatch include path

[skip build]
[skip test]
This commit is contained in:
alexey.lysiuk 2022-09-06 15:06:31 +03:00
parent 4f5c58f325
commit 2e95a47f31

View file

@ -240,6 +240,14 @@ class InstPatchTarget(CMakeStaticDependencyTarget):
super().configure(state) super().configure(state)
def post_build(self, state: BuildState):
super().post_build(state)
# Remove extra directory from include path
include_path = state.install_path / 'include'
include_subpath = include_path / 'libinstpatch-2/libinstpatch'
shutil.move(str(include_subpath), include_path)
class IntlTarget(GettextTarget): class IntlTarget(GettextTarget):
def __init__(self, name='intl'): def __init__(self, name='intl'):