commit 11d7049e3b5793a080744331562ed310edc135d4 parent de1159bc45602cce9ae636bc10b431f4f793d7a4 Author: Cem Keylan <cem@ckyln.com> Date: Fri, 3 Jul 2020 13:54:25 +0300 sbase: revert to sbase-box but properly link statically Diffstat:
M | core/sbase/build | | | 7 | +++---- |
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git 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"