mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-28 14:42:03 +00:00
aedi: remove obsolete search prefix flag
it became useless after f4cea9c
This commit is contained in:
parent
f4cea9ce31
commit
197d5c1aaf
2 changed files with 2 additions and 9 deletions
|
@ -66,7 +66,6 @@ class BuildTarget(Target):
|
||||||
self.environment = os.environ.copy()
|
self.environment = os.environ.copy()
|
||||||
self.options = CommandLineOptions()
|
self.options = CommandLineOptions()
|
||||||
self.multi_platform = True
|
self.multi_platform = True
|
||||||
self.search_prefix = True
|
|
||||||
|
|
||||||
def configure(self, state: BuildState):
|
def configure(self, state: BuildState):
|
||||||
os.makedirs(state.build_path, exist_ok=True)
|
os.makedirs(state.build_path, exist_ok=True)
|
||||||
|
@ -85,17 +84,13 @@ class BuildTarget(Target):
|
||||||
for prefix in ('CPP', 'C', 'CXX', 'OBJC', 'OBJCXX'):
|
for prefix in ('CPP', 'C', 'CXX', 'OBJC', 'OBJCXX'):
|
||||||
varname = f'{prefix}FLAGS'
|
varname = f'{prefix}FLAGS'
|
||||||
|
|
||||||
if self.search_prefix:
|
|
||||||
self._update_env(varname, f'-I{state.include_path}')
|
self._update_env(varname, f'-I{state.include_path}')
|
||||||
|
|
||||||
self._set_sdk(state, varname)
|
self._set_sdk(state, varname)
|
||||||
self._set_os_version(state, varname)
|
self._set_os_version(state, varname)
|
||||||
|
|
||||||
ldflags = 'LDFLAGS'
|
ldflags = 'LDFLAGS'
|
||||||
|
|
||||||
if self.search_prefix:
|
|
||||||
self._update_env(ldflags, f'-L{state.lib_path}')
|
self._update_env(ldflags, f'-L{state.lib_path}')
|
||||||
|
|
||||||
self._set_sdk(state, ldflags)
|
self._set_sdk(state, ldflags)
|
||||||
self._set_os_version(state, ldflags)
|
self._set_os_version(state, ldflags)
|
||||||
|
|
||||||
|
|
|
@ -862,8 +862,6 @@ class VpxTarget(ConfigureMakeDependencyTarget):
|
||||||
opts['--disable-examples'] = None
|
opts['--disable-examples'] = None
|
||||||
opts['--disable-unit-tests'] = None
|
opts['--disable-unit-tests'] = None
|
||||||
|
|
||||||
self.search_prefix = False
|
|
||||||
|
|
||||||
def prepare_source(self, state: BuildState):
|
def prepare_source(self, state: BuildState):
|
||||||
state.download_source(
|
state.download_source(
|
||||||
'https://github.com/webmproject/libvpx/archive/v1.10.0.tar.gz',
|
'https://github.com/webmproject/libvpx/archive/v1.10.0.tar.gz',
|
||||||
|
|
Loading…
Reference in a new issue