Correct shlib dependencies since libfoo-map may not be set anymore.
authordrepper <drepper>
Fri, 15 May 1998 14:36:34 +0000 (14:36 +0000)
committerdrepper <drepper>
Fri, 15 May 1998 14:36:34 +0000 (14:36 +0000)
extra-lib.mk

index 793dc09..0b79d4a 100644 (file)
@@ -50,6 +50,6 @@ object-suffixes-left = $(object-suffixes-$(lib))
 include $(patsubst %,$(..)o-iterator.mk,$(object-suffixes-$(lib)))
 
 # Add the version script to the dependencies of the shared library.
-$(objpfx)$(lib).so: $($(lib)-map)
+$(objpfx)$(lib).so: $(firstword $(wildcard $($(lib)-map) $(lib).map $(..)$(lib).map))
 
 endif