$OpenBSD: patch-test_Makefile_in,v 1.6 2015/09/11 09:15:40 pascal Exp $
--- test/Makefile.in.orig	Thu Sep 10 20:12:55 2015
+++ test/Makefile.in	Thu Sep 10 20:13:00 2015
@@ -644,7 +644,7 @@ LibTorrentTest_SOURCES = \
 	main.cc
 
 LibTorrentTest_CXXFLAGS = $(CPPUNIT_CFLAGS)
-LibTorrentTest_LDFLAGS = $(CPPUNIT_LIBS)  -ldl
+LibTorrentTest_LDFLAGS = $(CPPUNIT_LIBS)
 AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_srcdir)/src
 all: all-am
 
