Browse Source

wrk: build against our distributed ssl

v0.11.12-release
Timothy J Fontaine 11 years ago
parent
commit
581b8585eb
  1. 6
      tools/wrk/Makefile

6
tools/wrk/Makefile

@ -1,5 +1,5 @@
CFLAGS := -std=c99 -Wall -O2 -D_REENTRANT CFLAGS := -std=c99 -Wall -O2 -D_REENTRANT
LIBS := -lpthread -lm -lcrypto -lssl LIBS := -lpthread -lm -lopenssl
TARGET := $(shell uname -s | tr [A-Z] [a-z] 2>/dev/null || echo unknown) TARGET := $(shell uname -s | tr [A-Z] [a-z] 2>/dev/null || echo unknown)
@ -25,8 +25,8 @@ OBJ := $(patsubst %.c,$(ODIR)/%.o,$(SRC)) $(ODIR)/bytecode.o
LDIR = deps/luajit/src LDIR = deps/luajit/src
LIBS := -lluajit $(LIBS) LIBS := -lluajit $(LIBS)
CFLAGS += -I $(LDIR) CFLAGS += -I $(LDIR) -I ../../deps/openssl/openssl/include/
LDFLAGS += -L $(LDIR) LDFLAGS += -L $(LDIR) -L ../../out/Release/
all: $(BIN) all: $(BIN)

Loading…
Cancel
Save