mirror of
https://github.com/lz4/lz4.git
synced 2024-11-23 18:04:05 +08:00
fixed make install
This commit is contained in:
parent
773ae50b47
commit
063b4d92e1
@ -70,9 +70,11 @@ else
|
||||
SHARED_EXT_VER = $(SHARED_EXT).$(LIBVER)
|
||||
endif
|
||||
|
||||
default: all
|
||||
default: lib
|
||||
|
||||
all: liblz4.a liblz4
|
||||
all: lib
|
||||
|
||||
lib: liblz4.a liblz4
|
||||
|
||||
liblz4.a: *.c
|
||||
ifeq ($(BUILD_STATIC),yes)
|
||||
@ -111,7 +113,7 @@ liblz4.pc: liblz4.pc.in Makefile
|
||||
-e 's|@VERSION@|$(LIBVER)|' \
|
||||
$< >$@
|
||||
|
||||
install: liblz4 liblz4.pc
|
||||
install: lib liblz4.pc
|
||||
@install -d -m 755 $(DESTDIR)$(LIBDIR)/pkgconfig/ $(DESTDIR)$(INCLUDEDIR)/
|
||||
@install -m 755 liblz4.$(SHARED_EXT_VER) $(DESTDIR)$(LIBDIR)
|
||||
@ln -sf liblz4.$(SHARED_EXT_VER) $(DESTDIR)$(LIBDIR)/liblz4.$(SHARED_EXT_MAJOR)
|
||||
|
Loading…
Reference in New Issue
Block a user