From 1fb02ce2dae3fcf708a9289c4c7df831ddd8f607 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Thu, 1 Sep 2016 13:59:38 -0400 Subject: [PATCH] libzopfli: Avoid setting library soname --- packages/libzopfli/Makefile.patch | 2 +- packages/libzopfli/build.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/libzopfli/Makefile.patch b/packages/libzopfli/Makefile.patch index 79bad33fd..505601366 100644 --- a/packages/libzopfli/Makefile.patch +++ b/packages/libzopfli/Makefile.patch @@ -23,7 +23,7 @@ diff -u -r ../zopfli-zopfli-1.0.1/Makefile ./Makefile +install: $(CC) $(ZOPFLILIB_SRC) $(CFLAGS) -fPIC -c - $(CC) $(ZOPFLILIB_OBJ) $(CFLAGS) -shared -Wl,-soname,libzopfli.so.1 -o libzopfli.so.1.0.1 -+ $(CC) $(ZOPFLILIB_OBJ) $(CFLAGS) -shared -Wl,-soname,libzopfli.so.1 -o @TERMUX_PREFIX@/lib/libzopfli.so -lm ++ $(CC) $(ZOPFLILIB_OBJ) $(CFLAGS) -shared -o @TERMUX_PREFIX@/lib/libzopfli.so -lm # ZopfliPNG binary zopflipng: diff --git a/packages/libzopfli/build.sh b/packages/libzopfli/build.sh index d8eab21d6..7ed2e6564 100644 --- a/packages/libzopfli/build.sh +++ b/packages/libzopfli/build.sh @@ -1,6 +1,7 @@ TERMUX_PKG_HOMEPAGE=https://github.com/google/zopfli TERMUX_PKG_DESCRIPTION="New zlib compatible compressor library" TERMUX_PKG_VERSION=1.0.1 +TERMUX_PKG_BUILD_REVISION=1 TERMUX_PKG_SRCURL=https://github.com/google/zopfli/archive/zopfli-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_FOLDERNAME=zopfli-zopfli-${TERMUX_PKG_VERSION} TERMUX_PKG_BUILD_IN_SRC=yes