openbsd-ports/net/libtorrent/patches/patch-test_Makefile_in
2012-05-02 14:06:03 +00:00

16 lines
463 B
Plaintext

$OpenBSD: patch-test_Makefile_in,v 1.2 2012/05/02 14:06:03 dcoppa Exp $
Unbreak build
--- test/Makefile.in.orig Fri Apr 20 08:56:15 2012
+++ test/Makefile.in Mon Apr 23 13:42:26 2012
@@ -326,7 +326,7 @@ LibTorrentTest_SOURCES = \
main.cc
LibTorrentTest_CXXFLAGS = $(CPPUNIT_CFLAGS)
-LibTorrentTest_LDFLAGS = $(CPPUNIT_LIBS) -ldl
+LibTorrentTest_LDFLAGS = $(CPPUNIT_LIBS) -pthread
INCLUDES = -I$(srcdir) -I$(top_srcdir) -I$(top_srcdir)/src
all: all-am