diff --git a/configure b/configure
index dfc8ee386336e36f67a9579131b738d138008a8c..c443d93f77cd02f1e35fbb88b27aa4facf4b6e13 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 33b8ea0c58939bfa8b2f0fc3f13066ca6a1a50af..74351627937742412001102f490b5fda9b19507f 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 0000000000000000000000000000000000000000..af2181179d8dfadf992117a1f200ae6b490a81de
--- /dev/null
+++ b/libswresample/libswresample.v
@@ -0,0 +1,4 @@
+LIBSWRESAMPLE_$MAJOR {
+        global: swr_*; ff_*;
+        local: *;
+};