Skip to content

Commit

Permalink
Merge pull request #276 from benjoe87/fix-snappy-support
Browse files Browse the repository at this point in the history
Fix broken snappy support in leveldb
  • Loading branch information
bet365-bspencer authored Nov 23, 2023
2 parents edfd392 + ebe1eb8 commit c7c71c0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions c_src/Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
LEVELDB_VSN ?= "2.0.38"
export LEVELDB_VSN ?= "2.0.38"
SNAPPY_VSN ?= "1.1.9"
BASEDIR = $(shell pwd)

LDFLAGS := $(LDFLAGS) -L$(BASEDIR)/system/lib
LD_LIBRARY_PATH := $(BASEDIR)/system/lib:$(LD_LIBRARY_PATH)
CFLAGS := $(CFLAGS) -I $(BASEDIR)/system/include -I. -I $(BASEDIR)/leveldb/include -fPIC
CXXFLAGS := $(CXXFLAGS) -I $(BASEDIR)/system/include -I. -I $(BASEDIR)/leveldb/include -fPIC
export LDFLAGS := $(LDFLAGS) -L$(BASEDIR)/system/lib
export LD_LIBRARY_PATH := $(BASEDIR)/system/lib:$(LD_LIBRARY_PATH)
export CFLAGS := $(CFLAGS) -I $(BASEDIR)/system/include -I. -I $(BASEDIR)/leveldb/include -fPIC
export CXXFLAGS := $(CXXFLAGS) -I $(BASEDIR)/system/include -I. -I $(BASEDIR)/leveldb/include -fPIC

get-deps:
if [ ! -r snappy-$(SNAPPY_VSN).tar.gz ]; then \
Expand Down

0 comments on commit c7c71c0

Please sign in to comment.