You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-06 08:29:25 +02:00
Separate library install into static and shared installation.
Originally committed as revision 4983 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -124,25 +124,20 @@ endif
|
||||
depend: $(SRCS)
|
||||
$(CC) -MM $(CFLAGS) $^ 1>.depend
|
||||
|
||||
ifeq ($(BUILD_SHARED),yes)
|
||||
install: all
|
||||
|
||||
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
|
||||
else
|
||||
install:
|
||||
endif
|
||||
|
||||
installlib: all
|
||||
install-lib-static: $(LIB)
|
||||
install -m 644 $(LIB) "$(libdir)"
|
||||
|
||||
install-headers:
|
||||
|
||||
Reference in New Issue
Block a user