--- samples/Makefile.am	2012-03-27 05:15:02.000000000 +0200
+++ samples/Makefile.am.new	2013-04-09 14:07:48.303789999 +0200
@@ -78,12 +78,10 @@
 #
 iodbctest_SOURCES	= iodbctest.c
 iodbctest_LDADD		= ../iodbc/libiodbc.la
-iodbctest_LDFLAGS	= -static
 
 iodbctestw_CFLAGS	= -DUNICODE
 iodbctestw_SOURCES	= iodbctest.c
 iodbctestw_LDADD	= ../iodbc/libiodbc.la
-iodbctestw_LDFLAGS	= -static
 
 EXTRA_DIST		= $(srcdir)/Makefile.sample