mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-25 05:11:49 +00:00
aedi: remove extra directory from instpatch include path
[skip build] [skip test]
This commit is contained in:
parent
4f5c58f325
commit
2e95a47f31
1 changed files with 8 additions and 0 deletions
|
@ -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'):
|
||||||
|
|
Loading…
Reference in a new issue