From 11d7049e3b5793a080744331562ed310edc135d4 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Fri, 3 Jul 2020 13:54:25 +0300 Subject: sbase: revert to sbase-box but properly link statically --- core/sbase/build | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'core/sbase') diff --git a/core/sbase/build b/core/sbase/build index 957e2a84..fdc07891 100755 --- a/core/sbase/build +++ b/core/sbase/build @@ -1,7 +1,6 @@ #!/bin/sh -e -make CC="${CC:-cc} -static" -make PREFIX=/usr DESTDIR="$1" install +make LDFLAGS="$LDFLAGS -static" PREFIX=/usr DESTDIR="$1" sbase-box-install -rm -f "$1/usr/bin/tar" -rm -f "$1/usr/bin/sed" +unlink "$1/usr/bin/tar" +unlink "$1/usr/bin/sed" -- cgit v1.2.3