aboutsummaryrefslogtreecommitdiff
path: root/extra-lib.mk
diff options
context:
space:
mode:
Diffstat (limited to 'extra-lib.mk')
-rw-r--r--extra-lib.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/extra-lib.mk b/extra-lib.mk
index f2efb4b..ad9f28c 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