parent
f3b4f16bed
commit
8ff9f0a9b5
2 changed files with 14 additions and 2 deletions
11
srcpkgs/xxHash/patches/fix-dynamic-lib.patch
Normal file
11
srcpkgs/xxHash/patches/fix-dynamic-lib.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- Makefile
|
||||
+++ Makefile
|
||||
@@ -92,7 +92,7 @@ libxxhash.a: xxhash.o
|
||||
$(LIBXXH): LDFLAGS += -shared -fPIC
|
||||
$(LIBXXH): xxhash.c
|
||||
@echo compiling dynamic library $(LIBVER)
|
||||
- @$(CC) $(FLAGS) $^ $(LDFLAGS) $(SONAME_FLAGS) -o $@
|
||||
+ @$(CC) $(FLAGS) $^ -shared $(LDFLAGS) $(SONAME_FLAGS) -o $@
|
||||
@echo creating versioned links
|
||||
@ln -sf $@ libxxhash.$(SHARED_EXT_MAJOR)
|
||||
@ln -sf $@ libxxhash.$(SHARED_EXT)
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'xxHash'
|
||||
pkgname=xxHash
|
||||
version=0.6.3
|
||||
version=0.6.4
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
short_desc="Fast non-cryptographic hashing algorithm"
|
||||
|
@ -8,7 +8,8 @@ maintainer="Evan Deaubl <evan@deaubl.name>"
|
|||
license="BSD, GPL-2"
|
||||
homepage="http://xxhash.com"
|
||||
distfiles="https://github.com/Cyan4973/${pkgname}/archive/v${version}.tar.gz>xxhash-${version}.tar.gz"
|
||||
checksum=d8c739ec666ac2af983a61dc932aaa2a8873df974d333a9922d472a121f2106e
|
||||
checksum=4570ccd111df6b6386502791397906bf69b7371eb209af7d41debc2f074cdb22
|
||||
make_check_target="test"
|
||||
|
||||
do_install() {
|
||||
vbin xxhsum
|
||||
|
|
Loading…
Reference in a new issue