swr: fix shared lib build
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 19 Sep 2011 05:26:42 +0000 (07:26 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 19 Sep 2011 05:26:42 +0000 (07:26 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
configure
libswresample/Makefile
libswresample/libswresample.v [new file with mode: 0644]

index dfc8ee3..c443d93 100755 (executable)
--- 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
index 33b8ea0..7435162 100644 (file)
@@ -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 (file)
index 0000000..af21811
--- /dev/null
@@ -0,0 +1,4 @@
+LIBSWRESAMPLE_$MAJOR {
+        global: swr_*; ff_*;
+        local: *;
+};