blob: 32e0b976f5e18b63c12448bc2ad0999dcbbeca05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
$NetBSD: patch-aa,v 1.6 2006/02/11 14:11:07 joerg Exp $
--- gpgme/gpgme-config.in.orig 2004-05-21 21:49:29.000000000 +0200
+++ gpgme/gpgme-config.in 2004-08-22 17:25:14.000000000 +0200
@@ -26,8 +26,8 @@ libs_pth="@PTH_LDFLAGS@ @PTH_LIBS@"
cflags_pth="@PTH_CFLAGS@"
@HAVE_PTHREAD_TRUE@thread_modules="$thread_modules pthread"
-libs_pthread="-lpthread"
-cflags_pthread=""
+libs_pthread="@PTHREAD_LIBS@"
+cflags_pthread="@PTHREAD_CFLAGS@"
output=""
@@ -98,7 +98,7 @@ while test $# -gt 0; do
;;
--libs)
if test "x$libdir" != "x/usr/lib" -a "x$libdir" != "x/lib"; then
- output="$output -L$libdir"
+ output="$output -Wl,-R$libdir -L$libdir"
fi
case "$thread_module" in
pthread)
|