diff options
Diffstat (limited to 'extra-lib.mk')
-rw-r--r-- | extra-lib.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/extra-lib.mk b/extra-lib.mk index f2efb4bf7e..ad9f28cc65 100644 --- a/extra-lib.mk +++ b/extra-lib.mk @@ -49,4 +49,7 @@ endef 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) + endif |