Applications linking libproxy need -pthread; add it to the .pc file so
it's listed in "pkg-config --libs libproxy-1.0" output. ok ajacoutot@
This commit is contained in:
parent
7a1d0fc63f
commit
951fae6b85
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.22 2011/10/29 08:12:32 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.23 2011/12/05 10:38:42 sthen Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
@ -13,7 +13,7 @@ PKGNAME-main= libproxy-${VERSION}
|
||||
PKGNAME-mozilla= libproxy-mozilla-${VERSION}
|
||||
PKGNAME-webkit= libproxy-webkit-${VERSION}
|
||||
|
||||
REVISION-main= 6
|
||||
REVISION-main= 7
|
||||
REVISION-mozilla= 4
|
||||
REVISION-webkit= 6
|
||||
|
||||
|
10
net/libproxy/patches/patch-libproxy_libproxy-1_0_pc_in
Normal file
10
net/libproxy/patches/patch-libproxy_libproxy-1_0_pc_in
Normal file
@ -0,0 +1,10 @@
|
||||
$OpenBSD: patch-libproxy_libproxy-1_0_pc_in,v 1.1 2011/12/05 10:38:42 sthen Exp $
|
||||
--- libproxy/libproxy-1.0.pc.in.orig Mon Dec 5 10:16:33 2011
|
||||
+++ libproxy/libproxy-1.0.pc.in Mon Dec 5 10:16:20 2011
|
||||
@@ -5,5 +5,5 @@ includedir=@PKGCONFIG_INCLUDEDIR@
|
||||
Name: libproxy-1.0
|
||||
Description: Proxy Configuration Library
|
||||
Version: @PROJECT_VERSION@
|
||||
-Libs: -L${libdir} -lproxy
|
||||
+Libs: -L${libdir} -lproxy -pthread
|
||||
Cflags: -I${includedir}
|
Loading…
x
Reference in New Issue
Block a user