[PATCH 2/2] apply symbol versioning
Reinhard Tartler
siretart
Fri Dec 25 21:34:52 CET 2009
---
subdir.mak | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/subdir.mak b/subdir.mak
index 1a5158a..bb84dbe 100644
--- a/subdir.mak
+++ b/subdir.mak
@@ -53,7 +53,7 @@ $(SUBDIR)$(SLIBNAME): $(SUBDIR)$(SLIBNAME_WITH_MAJOR)
$(SUBDIR)$(SLIBNAME_WITH_MAJOR): $(OBJS)
$(SLIB_CREATE_DEF_CMD)
- $(LD) $(SHFLAGS) $(FFLDFLAGS) -o $$@ $$(filter %.o,$$^) $(FFEXTRALIBS) $(EXTRAOBJS)
+ $(LD) $(SHFLAGS) $(FFLDFLAGS) -Wl,--version-script,$$(@F).ver -o $$@ $$(filter %.o,$$^) $(FFEXTRALIBS) $(EXTRAOBJS)
$(SLIB_EXTRA_CMD)
ifdef SUBDIR
--
1.6.3.3
comments welcome, I can improve details as needed.
--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4
More information about the ffmpeg-devel
mailing list