summaryrefslogtreecommitdiff
path: root/libavcodec/libpostproc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/libpostproc/Makefile')
-rw-r--r--libavcodec/libpostproc/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/libavcodec/libpostproc/Makefile b/libavcodec/libpostproc/Makefile
index 8f32bb62f4..2f7ec1a0c0 100644
--- a/libavcodec/libpostproc/Makefile
+++ b/libavcodec/libpostproc/Makefile
@@ -48,23 +48,20 @@ $(LIB): $(OBJS)
$(AR) rc $@ $(OBJS)
$(RANLIB) $@
-install: all
-ifeq ($(BUILD_SHARED),yes)
+
+install-lib-shared: $(SLIBNAME)
ifeq ($(CONFIG_WIN32),yes)
install $(INSTALLSTRIP) -m 755 $(SLIBNAME) "$(prefix)"
else
- install -d $(libdir)
install $(INSTALLSTRIP) -m 755 $(SLIBNAME) \
$(libdir)/$(SLIBNAME_WITH_VERSION)
ln -sf $(SLIBNAME_WITH_VERSION) \
$(libdir)/$(SLIBNAME_WITH_MAJOR)
ln -sf $(SLIBNAME_WITH_VERSION) \
$(libdir)/$(SLIBNAME)
- $(LDCONFIG) || true
-endif
endif
-installlib: all
+install-lib-static: $(LIB)
install -m 644 $(LIB) "$(libdir)"
install-headers: