mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-24 04:41:37 +00:00
aedi: avoid inclusion of intermediate path to library
This commit is contained in:
parent
b89ee4e73c
commit
03fb92eed6
1 changed files with 7 additions and 1 deletions
|
@ -245,6 +245,8 @@ class IntlTarget(GettextTarget):
|
||||||
super().__init__(name)
|
super().__init__(name)
|
||||||
|
|
||||||
def configure(self, state: BuildState):
|
def configure(self, state: BuildState):
|
||||||
|
state.options['--localedir'] = '/usr/local/share/locale'
|
||||||
|
|
||||||
# There is no way to configure intl only, do this for the runtime
|
# There is no way to configure intl only, do this for the runtime
|
||||||
self.src_root = 'gettext-runtime'
|
self.src_root = 'gettext-runtime'
|
||||||
super().configure(state)
|
super().configure(state)
|
||||||
|
@ -255,9 +257,13 @@ class IntlTarget(GettextTarget):
|
||||||
super().build(state)
|
super().build(state)
|
||||||
|
|
||||||
def post_build(self, state: BuildState):
|
def post_build(self, state: BuildState):
|
||||||
|
opts = state.options
|
||||||
|
opts['install-exec-am'] = None
|
||||||
|
opts['install-nodist_includeHEADERS'] = None
|
||||||
|
|
||||||
# Install intl only, avoid complete gettext runtime
|
# Install intl only, avoid complete gettext runtime
|
||||||
state.build_path /= self.src_root
|
state.build_path /= self.src_root
|
||||||
self.install(state)
|
self.install(state, state.options)
|
||||||
|
|
||||||
|
|
||||||
class JpegTurboTarget(CMakeStaticDependencyTarget):
|
class JpegTurboTarget(CMakeStaticDependencyTarget):
|
||||||
|
|
Loading…
Reference in a new issue