Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

Commit b42a33c

Browse files
committed
Add exports
As per basho#276
1 parent 251f432 commit b42a33c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

c_src/Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
LEVELDB_VSN ?= "nhse-develop-3.0"
2-
SNAPPY_VSN ?= "1.1.9"
1+
export LEVELDB_VSN ?= "nhse-develop-3.0"
2+
export SNAPPY_VSN ?= "1.1.9"
33
BASEDIR = $(shell pwd)
44

5-
LDFLAGS := $(LDFLAGS) -L$(BASEDIR)/system/lib
6-
LD_LIBRARY_PATH := $(BASEDIR)/system/lib:$(LD_LIBRARY_PATH)
7-
CFLAGS := $(CFLAGS) -I $(BASEDIR)/system/include -I. -I $(BASEDIR)/leveldb/include -fPIC
8-
CXXFLAGS := $(CXXFLAGS) -I $(BASEDIR)/system/include -I. -I $(BASEDIR)/leveldb/include -fPIC
5+
export LDFLAGS := $(LDFLAGS) -L$(BASEDIR)/system/lib
6+
export LD_LIBRARY_PATH := $(BASEDIR)/system/lib:$(LD_LIBRARY_PATH)
7+
export CFLAGS := $(CFLAGS) -I $(BASEDIR)/system/include -I. -I $(BASEDIR)/leveldb/include -fPIC
8+
export CXXFLAGS := $(CXXFLAGS) -I $(BASEDIR)/system/include -I. -I $(BASEDIR)/leveldb/include -fPIC
99

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

0 commit comments

Comments
 (0)