Skip to content

Commit

Permalink
Add exports
Browse files Browse the repository at this point in the history
As per basho#276
  • Loading branch information
martinsumner committed Aug 29, 2023
1 parent 251f432 commit b42a33c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions c_src/Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
LEVELDB_VSN ?= "nhse-develop-3.0"
SNAPPY_VSN ?= "1.1.9"
export LEVELDB_VSN ?= "nhse-develop-3.0"
export 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 b42a33c

Please sign in to comment.