summaryrefslogtreecommitdiff
path: root/security/gpgme/patches/patch-aj
blob: d83f30103574f6d077e2b8a4e89ca968e9adecb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aj,v 1.5 2011/03/03 11:39:48 adam Exp $

--- src/Makefile.in.orig	2010-01-11 11:06:54.000000000 +0000
+++ src/Makefile.in
@@ -544,7 +544,7 @@ libgpgme_pthread_la_LDFLAGS = $(no_undef
 
 libgpgme_pthread_la_DEPENDENCIES = @LTLIBOBJS@ $(srcdir)/libgpgme.vers
 libgpgme_pthread_la_LIBADD = $(gpgme_res) @LIBASSUAN_LIBS@ @LTLIBOBJS@ \
-	-lpthread @GPG_ERROR_LIBS@
+	$(PTHREAD_LDFLAGS) $(PTHREAD_LIBS) @GPG_ERROR_LIBS@
 
 libgpgme_pth_la_LDFLAGS = @PTH_LDFLAGS@ $(no_undefined) $(export_symbols) \
 	$(libgpgme_version_script_cmd) -version-info \