From 9dd3da1061e34f13f5f233274ed10c0a4da41dfe Mon Sep 17 00:00:00 2001
From: Michael Niedermayer <michaelni@gmx.at>
Date: Mon, 19 Sep 2011 07:26:42 +0200
Subject: [PATCH] swr: fix shared lib build

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
---
 configure                     | 1 +
 libswresample/Makefile        | 2 +-
 libswresample/libswresample.v | 4 ++++
 3 files changed, 6 insertions(+), 1 deletion(-)
 create mode 100644 libswresample/libswresample.v

diff --git a/configure b/configure
index dfc8ee38633..c443d93f77c 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 33b8ea0c589..74351627937 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 00000000000..af2181179d8
--- /dev/null
+++ b/libswresample/libswresample.v
@@ -0,0 +1,4 @@
+LIBSWRESAMPLE_$MAJOR {
+        global: swr_*; ff_*;
+        local: *;
+};
-- 
GitLab