[skip test]
This commit is contained in:
alexey.lysiuk 2023-03-20 13:26:13 +02:00
parent 24694135ae
commit 3be40f2d58
7 changed files with 8 additions and 10 deletions

View file

@ -21,8 +21,8 @@ import shutil
import subprocess
from pathlib import Path
from . import base
from ..state import BuildState
from . import base
class Bzip2Target(base.MakeTarget):
@ -149,9 +149,7 @@ class GlibTarget(base.MesonTarget):
return state.has_source_file('glib.doap')
def configure(self, state: BuildState):
environment = state.environment
environment['LDFLAGS'] += ' -framework CoreFoundation -framework Foundation'
state.environment['LDFLAGS'] = '-framework CoreFoundation -framework Foundation'
super().configure(state)
def post_build(self, state: BuildState):

View file

@ -20,8 +20,8 @@ import os
import shutil
from pathlib import Path
from . import base
from ..state import BuildState
from . import base
class DumbTarget(base.CMakeStaticDependencyTarget):

View file

@ -21,8 +21,8 @@ import os
import shutil
from pathlib import Path
from . import base
from ..state import BuildState
from . import base
class BrotliTarget(base.CMakeStaticDependencyTarget):

View file

@ -21,8 +21,8 @@ import shutil
from pathlib import Path
from platform import machine
from . import base
from ..state import BuildState
from . import base
class MakeMainTarget(base.MakeTarget):

View file

@ -20,8 +20,8 @@ import shlex
import shutil
import subprocess
from . import base
from ..state import BuildState
from . import base
class BuildPrefix(base.Target):

View file

@ -22,8 +22,8 @@ import platform
import subprocess
import zipapp
from . import base
from ..state import BuildState
from . import base
class CMakeTarget(base.CMakeTarget):

View file

@ -18,8 +18,8 @@
import subprocess
from . import base
from ..state import BuildState
from . import base
class GlslangTarget(base.CMakeStaticDependencyTarget):