summaryrefslogtreecommitdiff
path: root/subdir.mak
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-01-16 04:49:02 +0000
committerMåns Rullgård <mans@mansr.com>2010-01-16 04:49:02 +0000
commita482e61bd624c71e39c1a06367e303364b3ba153 (patch)
treebf44a006a8d66834106256afdf2af57c6aec413f /subdir.mak
parent2ed46eeab33d30cdfb5adf97dd7266931acde0ed (diff)
Add symbol versioning for shared libraries
Based on patch by Reinhard Tartler <siretart tauware de> Originally committed as revision 21236 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'subdir.mak')
-rw-r--r--subdir.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/subdir.mak b/subdir.mak
index 6948211924..e0ac6810b6 100644
--- a/subdir.mak
+++ b/subdir.mak
@@ -51,7 +51,7 @@ install-libs: install-lib$(NAME)-shared
$(SUBDIR)$(SLIBNAME): $(SUBDIR)$(SLIBNAME_WITH_MAJOR)
cd ./$(SUBDIR) && $(LN_S) $(SLIBNAME_WITH_MAJOR) $(SLIBNAME)
-$(SUBDIR)$(SLIBNAME_WITH_MAJOR): $(OBJS)
+$(SUBDIR)$(SLIBNAME_WITH_MAJOR): $(OBJS) $(SUBDIR)lib$(NAME).ver
$(SLIB_CREATE_DEF_CMD)
$(LD) $(SHFLAGS) $(FFLDFLAGS) -o $$@ $$(filter %.o,$$^) $(FFEXTRALIBS) $(EXTRAOBJS)
$(SLIB_EXTRA_CMD)