From d78ccf931a720662fe8c4975915322ab4849e31d Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Sun, 19 Jul 2015 21:36:09 +0800 Subject: [PATCH] Fix compilation on TravisCI --- miniupnpc-async/Makefile | 4 ++-- miniupnpc-libevent/Makefile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/miniupnpc-async/Makefile b/miniupnpc-async/Makefile index 0179ed5..79c17bd 100644 --- a/miniupnpc-async/Makefile +++ b/miniupnpc-async/Makefile @@ -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. diff --git a/miniupnpc-libevent/Makefile b/miniupnpc-libevent/Makefile index 2fb1cb9..4db0e52 100644 --- a/miniupnpc-libevent/Makefile +++ b/miniupnpc-libevent/Makefile @@ -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)