aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-09-19 07:26:42 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-09-19 07:26:42 +0200
commit9dd3da1061e34f13f5f233274ed10c0a4da41dfe (patch)
tree989077396fc1006b62dbe1af155d2c17f396e1ff
parentb5875b91113a0f3de6ad61e9ff8b74b81de94760 (diff)
downloadffmpeg-9dd3da1061e34f13f5f233274ed10c0a4da41dfe.tar.gz
swr: fix shared lib build
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rwxr-xr-xconfigure1
-rw-r--r--libswresample/Makefile2
-rw-r--r--libswresample/libswresample.v4
3 files changed, 6 insertions, 1 deletions
diff --git a/configure b/configure
index dfc8ee3863..c443d93f77 100755
--- a/configure
+++ b/configure
@@ -3476,6 +3476,7 @@ get_version(){
}
get_version LIBSWSCALE libswscale/swscale.h
+get_version LIBSWRESAMPLE libswresample/swresample.h
get_version LIBPOSTPROC libpostproc/postprocess.h
get_version LIBAVCODEC libavcodec/version.h
get_version LIBAVDEVICE libavdevice/avdevice.h
diff --git a/libswresample/Makefile b/libswresample/Makefile
index 33b8ea0c58..7435162793 100644
--- a/libswresample/Makefile
+++ b/libswresample/Makefile
@@ -9,4 +9,4 @@ OBJS = swresample.o audioconvert.o resample2.o rematrix.o
TESTPROGS = swresample_test
-include $(SUBDIR)../subdir.mak
+include $(SRC_PATH)/subdir.mak
diff --git a/libswresample/libswresample.v b/libswresample/libswresample.v
new file mode 100644
index 0000000000..af2181179d
--- /dev/null
+++ b/libswresample/libswresample.v
@@ -0,0 +1,4 @@
+LIBSWRESAMPLE_$MAJOR {
+ global: swr_*; ff_*;
+ local: *;
+};