summaryrefslogtreecommitdiff
path: root/subdir.mak
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-03-07 15:46:22 +0000
committerMåns Rullgård <mans@mansr.com>2010-03-07 15:46:22 +0000
commit56540673410c5273c9b9590354ca21ae9fda639a (patch)
treedf078ab53f016241416c0550b95e8bb3a0c555a9 /subdir.mak
parent7fcb98a7ec51123ecfd810a167d96f128eed9b79 (diff)
10l: fix make install with only shared libs
Originally committed as revision 22280 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'subdir.mak')
-rw-r--r--subdir.mak3
1 files changed, 2 insertions, 1 deletions
diff --git a/subdir.mak b/subdir.mak
index c9b99009cf..b67288a4b7 100644
--- a/subdir.mak
+++ b/subdir.mak
@@ -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)