10l: fix make install with only shared libs
authorMåns Rullgård <mans@mansr.com>
Sun, 7 Mar 2010 15:46:22 +0000 (15:46 +0000)
committerMåns Rullgård <mans@mansr.com>
Sun, 7 Mar 2010 15:46:22 +0000 (15:46 +0000)
Originally committed as revision 22280 to svn://svn.ffmpeg.org/ffmpeg/trunk

subdir.mak

index c9b9900..b67288a 100644 (file)
@@ -9,7 +9,6 @@ ifdef CONFIG_STATIC
 all: $(SUBDIR)$(LIBNAME)
 
 install-libs: install-lib$(NAME)-static
-install-headers: install-lib$(NAME)-headers install-lib$(NAME)-pkgconfig
 
 $(SUBDIR)$(LIBNAME): $(OBJS)
        $(RM) $@
@@ -17,6 +16,8 @@ $(SUBDIR)$(LIBNAME): $(OBJS)
        $(RANLIB) $@
 endif
 
+install-headers: install-lib$(NAME)-headers install-lib$(NAME)-pkgconfig
+
 INCINSTDIR := $(INCDIR)/lib$(NAME)
 
 THIS_LIB := $(SUBDIR)$($(CONFIG_SHARED:yes=S)LIBNAME)