From a3efedcba1e546e36e14bb9fb479b10a835d9fa6 Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 4 Sep 2007 20:20:58 +0000 Subject: If we force linkage with a library, link in the pthread dependency as well, otherwise the config test for CC will fail. --- ham/gnuradio-audio-oss/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ham') diff --git a/ham/gnuradio-audio-oss/Makefile b/ham/gnuradio-audio-oss/Makefile index 94536ccf4af..5996d3fb8bf 100644 --- a/ham/gnuradio-audio-oss/Makefile +++ b/ham/gnuradio-audio-oss/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2007/08/08 03:00:39 wulf Exp $ +# $NetBSD: Makefile,v 1.9 2007/09/04 20:20:58 joerg Exp $ PKGNAME= gnuradio-audio-oss-${VERSION} COMMENT= Open Sound System support for GNU Radio @@ -9,8 +9,9 @@ CONF_FILES+= ${EGDIR}/gr-audio-oss.conf ${PKG_SYSCONFDIR}/gr-audio-oss.conf CONFIGURE_ARGS+=--enable-gr-audio-oss PYTHON_PATCH_SCRIPTS+= gr-audio-oss/src/qa_oss.py -LDFLAGS = -lgnuradio-core +LDFLAGS = -lgnuradio-core ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} .include "../../mk/oss.buildlink3.mk" .include "../../ham/gnuradio-core/buildlink3.mk" +.include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3