mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-04 20:45:07 +00:00
Run ranlib on libgit2.a after archiving it
Some linkers require ranlib to build a symbol table on the archive in order to work with it. Most platforms that don't have this requirement permit ranlib as a noop. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
This commit is contained in:
parent
5614dc18f6
commit
0c01d80a09
2
Makefile
2
Makefile
@ -1,6 +1,7 @@
|
|||||||
all::
|
all::
|
||||||
|
|
||||||
DOXYGEN = doxygen
|
DOXYGEN = doxygen
|
||||||
|
RANLIB = ranlib
|
||||||
|
|
||||||
prefix=/usr/local
|
prefix=/usr/local
|
||||||
|
|
||||||
@ -71,6 +72,7 @@ $(OBJS): $(HDRS)
|
|||||||
$(GIT_LIB): $(OBJS)
|
$(GIT_LIB): $(OBJS)
|
||||||
rm -f $(LIB)
|
rm -f $(LIB)
|
||||||
$(AR) cr $(GIT_LIB) $(OBJS)
|
$(AR) cr $(GIT_LIB) $(OBJS)
|
||||||
|
$(RANLIB) $(GIT_LIB)
|
||||||
|
|
||||||
T_HDR = tests/test_lib.h
|
T_HDR = tests/test_lib.h
|
||||||
T_LIB = tests/test_lib.o
|
T_LIB = tests/test_lib.o
|
||||||
|
Loading…
Reference in New Issue
Block a user