We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a436926 commit 700ffedCopy full SHA for 700ffed
contrib/raftable/Makefile
@@ -3,9 +3,14 @@ OBJS = raftable.o worker.o state.o blockmem.o
3
EXTENSION = raftable
4
DATA = raftable--1.0.sql
5
6
+raftable.so: raft/lib/libraft.a
7
+
8
+raft/lib/libraft.a:
9
+ make -C raft
10
11
EXTRA_INSTALL = contrib/raftable
12
-RAFT_PREFIX = $(HOME)/raft
13
+RAFT_PREFIX = raft
14
override LDFLAGS += -L$(RAFT_PREFIX)/lib -Wl,-whole-archive -lraft -Wl,-no-whole-archive
15
override CFLAGS += -Wfatal-errors
16
override CPPFLAGS += -I$(RAFT_PREFIX)/include
0 commit comments