Patch from Sven Vermeulen to use RANLIB.
This will allow users to specify alternal ranlib commands.
This commit is contained in:
parent
6020fb0b1e
commit
3b44fe10e5
|
@ -3,6 +3,7 @@ PREFIX ?= $(DESTDIR)/usr
|
|||
INCLUDEDIR ?= $(PREFIX)/include
|
||||
LIBDIR ?= $(PREFIX)/lib
|
||||
SHLIBDIR ?= $(DESTDIR)/lib
|
||||
RANLIB ?= ranlib
|
||||
LIBBASE ?= $(shell basename $(LIBDIR))
|
||||
|
||||
VERSION = $(shell cat ../VERSION)
|
||||
|
@ -21,7 +22,7 @@ all: $(LIBA) $(LIBSO) $(LIBPC)
|
|||
|
||||
$(LIBA): $(OBJS)
|
||||
$(AR) rcs $@ $^
|
||||
ranlib $@
|
||||
$(RANLIB) $@
|
||||
|
||||
$(LIBSO): $(LOBJS)
|
||||
$(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -Wl,-soname,$(LIBSO),--version-script=libsepol.map,-z,defs
|
||||
|
|
Loading…
Reference in New Issue