libzopfli: Avoid setting library soname

This commit is contained in:
Fredrik Fornwall 2016-09-01 13:59:38 -04:00
parent 5859f749c9
commit 1fb02ce2da
2 changed files with 2 additions and 1 deletions

View File

@ -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:

View File

@ -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