Correctly handle missing map file.
[kopensolaris-gnu/glibc.git] / Makerules
index 26676c6..4acf64c 100644 (file)
--- a/Makerules
+++ b/Makerules
@@ -346,7 +346,7 @@ endif
 
 ifeq ($(versioning),yes)
 ifneq ($(..),)
-load-map-file = $(wildcard $($(@F:%.so=%)-map) $(..)$($(@F:%.so=%)-map))
+load-map-file = $(wildcard $($(@F:%.so=%)-map) $($(@F:%.so=%)-map):%=$(..)%)
 else
 load-map-file = $($(@F:%.so=%)-map)
 endif