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)