Fix compilation on TravisCI

This commit is contained in:
Chocobo1 2015-07-19 21:36:09 +08:00
parent 24307d2951
commit d78ccf931a
2 changed files with 3 additions and 3 deletions

View File

@ -94,8 +94,8 @@ upnpc-static: upnpc.o $(LIBRARY)
upnpc-shared: upnpc.o $(SHAREDLIBRARY)
$(CC) -o $@ $^
#testasync: testasync.o libminiupnpc-async.a
testasync: testasync.o -lminiupnpc-async
testasync: testasync.o libminiupnpc-async.a
#testasync: testasync.o -lminiupnpc-async
# DO NOT DELETE THIS LINE -- make depend depends on it.

View File

@ -15,7 +15,7 @@ CFLAGS += -I/usr/local/include
#CFLAGS += -DENABLE_UPNP_EVENTS
LDFLAGS = -levent
LDLIBS = -levent
LDFLAGS += -L/usr/local/lib
ifeq ($(OS), Darwin)