summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1f766b0cd0e..b3ea68fe8b1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ pkgdesc="A fork of LevelDB intended to meet the needs of HyperDex while remainin
url="https://github.com/rescrv/HyperLevelDB"
arch=('x86_64' 'i686')
license=('BSD')
-depends=()
+depends=('snappy')
makedepends=('wget' 'gcc')
conflicts=()
replaces=()
@@ -16,6 +16,7 @@ md5sums=('440d22289fa0fd355d01bc8ee04e04ae')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i 's/db_bench_LDADD = libhyperleveldb\.la -lpthread/db_bench_LDADD = libhyperleveldb.la -lpthread $(SNAPPY_LIBS)/' Makefile.in
./configure --prefix=/usr
make
}