File librsync-exports.patch of Package librsync

--- librsync-0.9.7.orig/Makefile.am
+++ librsync-0.9.7/Makefile.am
@@ -47,7 +47,7 @@ librsync_la_SOURCES =  prototab.c protot
 
 librsync_la_LIBADD = @LIBOBJS@
 
-librsync_la_LDFLAGS = -version-info @librsync_libversion@
+librsync_la_LDFLAGS = -export-symbols-regex '^rs_' -no-undefined -version-info @librsync_libversion@
 
 # This is the default for any programs that don't specify a preference.
 LDADD = librsync.la