From ad69fe19342e843d4d5292c1b90c6178f16db444 Mon Sep 17 00:00:00 2001 From: Leonid Plyushch Date: Sat, 21 Dec 2019 23:11:12 +0200 Subject: [PATCH] liblz4: build fixes --- packages/liblz4/Makefile.inc.patch | 12 ++++++++++++ packages/liblz4/build.sh | 6 ++++++ 2 files changed, 18 insertions(+) create mode 100644 packages/liblz4/Makefile.inc.patch diff --git a/packages/liblz4/Makefile.inc.patch b/packages/liblz4/Makefile.inc.patch new file mode 100644 index 000000000..8959d2945 --- /dev/null +++ b/packages/liblz4/Makefile.inc.patch @@ -0,0 +1,12 @@ +diff -uNr lz4-1.9.2/Makefile.inc lz4-1.9.2.mod/Makefile.inc +--- lz4-1.9.2/Makefile.inc 2019-08-15 14:59:59.000000000 +0300 ++++ lz4-1.9.2.mod/Makefile.inc 2019-09-09 03:40:49.761918035 +0300 +@@ -70,7 +70,7 @@ + LN_S = cp -p + LN_SF = cp -p + else +-LN_S = ln -s ++LN_S = ln -sf + LN_SF = ln -sf + endif + endif diff --git a/packages/liblz4/build.sh b/packages/liblz4/build.sh index 002152800..d07338f81 100644 --- a/packages/liblz4/build.sh +++ b/packages/liblz4/build.sh @@ -12,3 +12,9 @@ TERMUX_PKG_BUILD_IN_SRC=true termux_step_pre_configure() { TERMUX_PKG_SRCDIR+=lib } + +# Do not execute this step since on `make install` it will +# recompile libraries & tools again. +termux_step_make() { + : +}