Merge remote-tracking branch 'Chocobo1/compile_fix'

This commit is contained in:
Thomas Bernard 2015-07-20 11:01:51 +02:00
commit 29b1201c8e
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)