Commit f7110e6c by Russell Belfer

Merge pull request #1427 from Lionelon/development

Fix link issue in network examples
parents c5b72fa2 e2886f1e
......@@ -3,7 +3,8 @@ default: all
CC = gcc
CFLAGS += -g
CFLAGS += -I../../include
LDFLAGS += -L../../build -L../.. -lgit2 -lpthread
LDFLAGS += -L../../build -L../..
LIBRARIES += -lgit2 -lpthread
OBJECTS = \
git2.o \
......@@ -13,7 +14,7 @@ OBJECTS = \
index-pack.o
all: $(OBJECTS)
$(CC) $(CFLAGS) $(LDFLAGS) -o git2 $(OBJECTS)
$(CC) $(CFLAGS) $(LDFLAGS) -o git2 $(OBJECTS) $(LIBRARIES)
clean:
$(RM) $(OBJECTS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment