summaryrefslogtreecommitdiff
path: root/net/udt
diff options
context:
space:
mode:
Diffstat (limited to 'net/udt')
-rw-r--r--net/udt/Makefile2
-rw-r--r--net/udt/files/BSDmakefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/udt/Makefile b/net/udt/Makefile
index c61eee7eadb6..b2a5069ed8dc 100644
--- a/net/udt/Makefile
+++ b/net/udt/Makefile
@@ -26,7 +26,7 @@ post-build:
# Building sample applications:
.for a in ${UDT_APPS}
${CXX} ${CXXFLAGS} ${WRKSRC:H}/app/$a.cpp -o ${WRKSRC:H}/app/udt-$a \
- -I${WRKSRC} -L${WRKSRC} -ludt
+ -I${WRKSRC} -L${WRKSRC} -ludt -pthread
.endfor
.include <bsd.port.options.mk>
diff --git a/net/udt/files/BSDmakefile b/net/udt/files/BSDmakefile
index c0d5c5111ca5..7625197ad218 100644
--- a/net/udt/files/BSDmakefile
+++ b/net/udt/files/BSDmakefile
@@ -6,7 +6,7 @@ LIBDIR= ${PREFIX}/lib
INCLUDEDIR= ${PREFIX}/include
INCS= udt.h
-LDADD= -lmd -lpthread
+LDADD= -lmd -pthread
SRCS= common.cpp window.cpp list.cpp buffer.cpp packet.cpp channel.cpp \
queue.cpp ccc.cpp cache.cpp core.cpp epoll.cpp api.cpp