Skip to content

Commit

Permalink
Link against levent_core when that is enough
Browse files Browse the repository at this point in the history
  • Loading branch information
darkk committed Dec 27, 2016
1 parent 78a73fc commit 11350bf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ DEPS := .depend
OUT := redsocks
VERSION := 0.4

LIBS := -levent_core
ifeq ($(DBG_BUILD),1)
# -levent_extra is required only for `http` and `debug`
# -levent_core may be used for space reduction
LIBS := -levent
LIBS += -levent_extra
endif
CFLAGS += -g -O2
# _GNU_SOURCE is used to get splice(2), it also implies _BSD_SOURCE
override CFLAGS += -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall
Expand Down

0 comments on commit 11350bf

Please sign in to comment.