diff --git a/system/base/xz/actions.py b/system/base/xz/actions.py index fe8590e7..ec2c3585 100644 --- a/system/base/xz/actions.py +++ b/system/base/xz/actions.py @@ -16,9 +16,10 @@ def setup(): # Remove RPATH pisitools.dosed("libtool", "^hardcode_libdir_flag_spec=.*", "hardcode_libdir_flag_spec=\"\"") pisitools.dosed("libtool", "^runpath_var=LD_RUN_PATH", "runpath_var=DIE_RPATH_DIE") - shelltools.export("LDFLAGS", "-lpthread") + def build(): + shelltools.export("LDFLAGS", "-lpthread") autotools.make() def check(): diff --git a/system/base/xz/pspec.xml b/system/base/xz/pspec.xml index da898f05..4b770825 100644 --- a/system/base/xz/pspec.xml +++ b/system/base/xz/pspec.xml @@ -23,7 +23,7 @@ 0002-xz-Fix-an-integer-overflow-with-32-bit-off_t.patch 0001-liblzma-Avoid-memcpy-NULL-foo-0-because-it-is-undefi.patch - pthread.patch +