aboutsummaryrefslogtreecommitdiff
path: root/rpm
diff options
context:
space:
mode:
Diffstat (limited to 'rpm')
-rw-r--r--rpm/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/rpm/Makefile b/rpm/Makefile
index 5ffa19a..1bf6b6e 100644
--- a/rpm/Makefile
+++ b/rpm/Makefile
@@ -38,6 +38,11 @@ install-lib += $(foreach lib,$(versioned),\
$(patsubst %.so,%-$(version).so,$(lib)) \
$(lib)$($(lib)-version) $(lib))
+# Add libc.a and libc_p.a.
+install-lib += $(foreach o,$(filter-out .so,$(object-suffixes)),\
+ $(patsubst %,$(libtype$o),c))
+
+ifeq (yes,$(build-shared))
# Add libc.so itself, which is a special case in Makerules.
ifndef libc.so-version
install-others += $(slibdir)/libc.so
@@ -46,6 +51,7 @@ install-others += $(libdir)/libc.so \
$(slibdir)/libc-$(version).so \
$(slibdir)/libc.so$(libc.so-version)
endif
+endif
all: glibc-$(version).$(config).rpm