Fix compilation on TravisCI
This commit is contained in:
parent
24307d2951
commit
d78ccf931a
|
@ -94,8 +94,8 @@ upnpc-static: upnpc.o $(LIBRARY)
|
||||||
upnpc-shared: upnpc.o $(SHAREDLIBRARY)
|
upnpc-shared: upnpc.o $(SHAREDLIBRARY)
|
||||||
$(CC) -o $@ $^
|
$(CC) -o $@ $^
|
||||||
|
|
||||||
#testasync: testasync.o libminiupnpc-async.a
|
testasync: testasync.o libminiupnpc-async.a
|
||||||
testasync: testasync.o -lminiupnpc-async
|
#testasync: testasync.o -lminiupnpc-async
|
||||||
|
|
||||||
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ CFLAGS += -I/usr/local/include
|
||||||
|
|
||||||
#CFLAGS += -DENABLE_UPNP_EVENTS
|
#CFLAGS += -DENABLE_UPNP_EVENTS
|
||||||
|
|
||||||
LDFLAGS = -levent
|
LDLIBS = -levent
|
||||||
LDFLAGS += -L/usr/local/lib
|
LDFLAGS += -L/usr/local/lib
|
||||||
|
|
||||||
ifeq ($(OS), Darwin)
|
ifeq ($(OS), Darwin)
|
||||||
|
|
Loading…
Reference in New Issue