[PATCH 1/2] Add symbol versioning scripts for all libraries
Reinhard Tartler
siretart
Fri Dec 25 21:31:30 CET 2009
---
libavcodec.so.52.ver | 3 +++
libavdevice.so.52.ver | 4 ++++
libavfilter.so.1.ver | 4 ++++
libavformat.so.52.ver | 3 +++
libavutil.so.50.ver | 4 ++++
libpostproc.so.51.ver | 4 ++++
libswscale.so.0.ver | 4 ++++
7 files changed, 26 insertions(+), 0 deletions(-)
create mode 100644 libavcodec.so.52.ver
create mode 100644 libavdevice.so.52.ver
create mode 100644 libavfilter.so.1.ver
create mode 100644 libavformat.so.52.ver
create mode 100644 libavutil.so.50.ver
create mode 100644 libpostproc.so.51.ver
create mode 100644 libswscale.so.0.ver
diff --git a/libavcodec.so.52.ver b/libavcodec.so.52.ver
new file mode 100644
index 0000000..2be912f
--- /dev/null
+++ b/libavcodec.so.52.ver
@@ -0,0 +1,3 @@
+LIBAVCODEC_52 {
+ global: *;
+};
diff --git a/libavdevice.so.52.ver b/libavdevice.so.52.ver
new file mode 100644
index 0000000..0a2d779
--- /dev/null
+++ b/libavdevice.so.52.ver
@@ -0,0 +1,4 @@
+LIBAVDEVICE_52 {
+ global: avdevice_*;
+ local: *;
+};
diff --git a/libavfilter.so.1.ver b/libavfilter.so.1.ver
new file mode 100644
index 0000000..c179ebf
--- /dev/null
+++ b/libavfilter.so.1.ver
@@ -0,0 +1,4 @@
+LIBAVFILTER_1 {
+ global: avfilter_*; av_*;
+ local: *;
+};
diff --git a/libavformat.so.52.ver b/libavformat.so.52.ver
new file mode 100644
index 0000000..3608b14
--- /dev/null
+++ b/libavformat.so.52.ver
@@ -0,0 +1,3 @@
+LIBAVFORMAT_52 {
+ global: *;
+};
diff --git a/libavutil.so.50.ver b/libavutil.so.50.ver
new file mode 100644
index 0000000..ec8bec0
--- /dev/null
+++ b/libavutil.so.50.ver
@@ -0,0 +1,4 @@
+LIBAVUTIL_50 {
+ global: av_*; ff_*; avutil_*;
+ local: *;
+};
diff --git a/libpostproc.so.51.ver b/libpostproc.so.51.ver
new file mode 100644
index 0000000..36566ec
--- /dev/null
+++ b/libpostproc.so.51.ver
@@ -0,0 +1,4 @@
+LIBPOSTPROC_51 {
+ global: postproc_*; pp_*;
+ local: *;
+};
diff --git a/libswscale.so.0.ver b/libswscale.so.0.ver
new file mode 100644
index 0000000..9946ddb
--- /dev/null
+++ b/libswscale.so.0.ver
@@ -0,0 +1,4 @@
+LIBSWSCALE_0 {
+ global: swscale_*; sws_*; ff_*;
+ local: *;
+};
--
1.6.3.3
now actually add the linker command. Other random thoughts:
- is this portable? do all linkers support this?
- does this still work with cross toolchains?
More information about the ffmpeg-devel
mailing list