about summary refs log tree commit diff
path: root/md5-crypt
diff options
context:
space:
mode:
Diffstat (limited to 'md5-crypt')
-rw-r--r--md5-crypt/Makefile2
-rw-r--r--md5-crypt/Versions (renamed from md5-crypt/libcrypt.map)10
2 files changed, 5 insertions, 7 deletions
diff --git a/md5-crypt/Makefile b/md5-crypt/Makefile
index 27a8b0098a..40186eceef 100644
--- a/md5-crypt/Makefile
+++ b/md5-crypt/Makefile
@@ -66,7 +66,7 @@ libmd5crypt: $(objpfx)libmd5crypt.so
 # drop in replacement.
 LDFLAGS-md5crypt.so = -Wl,-soname=lib$(libprefix)crypt.so$(libcrypt.so-version)
 # We also use the same version script.
-libmd5crypt-map := libcrypt.map
+libmd5crypt-map := $(common-objpfx)libcrypt.map
 endif
 
 define o-iterator-doit
diff --git a/md5-crypt/libcrypt.map b/md5-crypt/Versions
index 9e0c20792f..389e7d544a 100644
--- a/md5-crypt/libcrypt.map
+++ b/md5-crypt/Versions
@@ -1,7 +1,5 @@
-GLIBC_2.0 {
-  global:
+libcrypt {
+  GLIBC_2.0 {
     crypt; crypt_r; encrypt; encrypt_r; fcrypt; setkey; setkey_r;
-
-  local:
-    *;
-};
+  }
+}