From d3a05618908e42c5d9799fd17cdee84a4d364d70 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sun, 4 Jul 2021 03:17:28 +0300 Subject: otools: patch pax --- core/otools/build | 17 +++++++++++++++-- core/otools/version | 2 +- 2 files changed, 16 insertions(+), 3 deletions(-) (limited to 'core/otools') diff --git a/core/otools/build b/core/otools/build index 45da9bf9..2e76b3e4 100755 --- a/core/otools/build +++ b/core/otools/build @@ -1,5 +1,18 @@ #!/bin/sh -e FTS=0; cpt l musl-fts && FTS=1 -make LDFLAGS=-static FTS="$FTS" -make PREFIX=/usr DESTDIR="$1" install + +# Remove symbolic link substitution on pax +sed -i 's|IS_LINK|IS_HARDLINK|' bin/pax/pat_rep.c + +mk() { + make \ + PREFIX=/usr \ + TLSLIB="$(pkgconf --static --libs libtls)" \ + LDFLAGS="$LDFLAGS -static" \ + FTS="$FTS" \ + "$@" +} + +mk +mk DESTDIR="$1" install diff --git a/core/otools/version b/core/otools/version index 957d07e2..f750a809 100644 --- a/core/otools/version +++ b/core/otools/version @@ -1 +1 @@ -1.3.1 1 +1.3.1 2 -- cgit v1.2.3