aboutsummaryrefslogtreecommitdiff
path: root/md5-crypt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'md5-crypt/Makefile')
-rw-r--r--md5-crypt/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/md5-crypt/Makefile b/md5-crypt/Makefile
index 6216ddb..84ec20c 100644
--- a/md5-crypt/Makefile
+++ b/md5-crypt/Makefile
@@ -33,6 +33,9 @@ extra-libs-others := $(extra-libs)
md5-routines := crypt-entry md5-crypt md5
libcrypt-routines := $(md5-routines)
+onlymd5-routines := onlymd5-entry md5-crypt md5
+distribute += onlymd5-entry
+
include ../Makeconfig
rpath-link := $(common-objpfx)md5-crypt:$(rpath-link)
@@ -60,7 +63,7 @@ endif
define o-iterator-doit
$(objpfx)$(patsubst %,$(libtype$o),md5crypt): \
- $(md5-routines:%=$(objpfx)%$o); $$(build-extra-lib)
+ $(onlymd5-routines:%=$(objpfx)%$o); $$(build-extra-lib)
endef
object-suffixes-left = $(object-suffixes)
include $(patsubst %,$(..)o-iterator.mk,$(object-suffixes))
@@ -69,3 +72,4 @@ include $(patsubst %,$(..)o-iterator.mk,$(object-suffixes))
# This ensures they will load libc.so for needed symbols if loaded by
# a statically-linked program that hasn't already loaded it.
$(objpfx)libcrypt.so: $(common-objpfx)libc.so
+$(objpfx)libmd5crypt.so: $(common-objpfx)libc.so