mirror of
https://github.com/status-im/miniupnp.git
synced 2025-01-22 04:09:13 +00:00
miniupnpc-libevent/Makefile: add /usr/local/include and /usr/local/lib
This commit is contained in:
parent
33a5ebf367
commit
c9e71676a8
@ -1,9 +1,9 @@
|
||||
# $Id: Makefile,v 1.5 2014/11/17 16:27:35 nanard Exp $
|
||||
# $Id: Makefile,v 1.7 2014/11/28 13:14:19 nanard Exp $
|
||||
|
||||
OS = $(shell uname -s)
|
||||
|
||||
CFLAGS = -O0 -g -DDEBUG
|
||||
# libevent debug
|
||||
# libevent debug
|
||||
CFLAGS += -DUSE_DEBUG
|
||||
|
||||
CFLAGS += -fPIC
|
||||
@ -11,8 +11,10 @@ CFLAGS += -ansi
|
||||
CFLAGS += -Wall -W
|
||||
CFLAGS += -D_BSD_SOURCE
|
||||
CFLAGS += -D_POSIX_C_SOURCE=200112L
|
||||
CFLAGS += -I/usr/local/include
|
||||
|
||||
LDFLAGS = -levent
|
||||
LDFLAGS += -L/usr/local/lib
|
||||
|
||||
ifeq ($(OS), Darwin)
|
||||
CFLAGS += -D_DARWIN_C_SOURCE
|
||||
|
Loading…
x
Reference in New Issue
Block a user