mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-01 23:50:11 +00:00
Fix link issue in network examples
This commit is contained in:
parent
7dbf4039ae
commit
e2886f1e7e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user