--- rdd-2.0.7.orig/src/writer.h
+++ rdd-2.0.7/src/writer.h
@@ -228,4 +228,6 @@
  */
 int rdd_writer_close(RDD_WRITER *w);
 
+RDD_WRITER *rdd_test_get_writer(int argc, char **argv);
+
 #endif /* __writer_h__ */
--- rdd-2.0.7.orig/src/Makefile.in
+++ rdd-2.0.7/src/Makefile.in
@@ -180,7 +180,7 @@
 target_alias = @target_alias@
 @GCC_COMPILER_FALSE@AM_CFLAGS = 
 @GCC_COMPILER_TRUE@AM_CFLAGS = -pedantic -Wno-long-long -g3 -Wall -Wmissing-prototypes
-AM_LDFLAGS = -static
+AM_LDFLAGS = -dynamic
 noinst_LIBRARIES = librdd.a
 librdd_a_SOURCES = rdd.h rsysint.h \
 		strerror.c \
--- rdd-2.0.7.orig/src/Makefile.am
+++ rdd-2.0.7/src/Makefile.am
@@ -5,7 +5,7 @@
 else
 AM_CFLAGS = 
 endif
-AM_LDFLAGS = -static
+AM_LDFLAGS = -dynamic
 
 bin_PROGRAMS = rdd-copy rdd-verify
 
