add -pthread to cflags as well as libs in the pc file. ok jasper@ mpi@
This commit is contained in:
parent
ddc61472cb
commit
905b965e39
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.11 2012/06/19 20:45:00 mpi Exp $
|
||||
# $OpenBSD: Makefile,v 1.12 2012/07/08 17:41:14 sthen Exp $
|
||||
|
||||
COMMENT = library for USB device access from userspace
|
||||
|
||||
VERSION = 1.0.9
|
||||
DISTNAME = libusb-${VERSION}
|
||||
PKGNAME = libusb1-${VERSION}
|
||||
REVISION = 1
|
||||
REVISION = 2
|
||||
SHARED_LIBS += usb-1.0 1.0 # 1.0
|
||||
|
||||
CATEGORIES = devel
|
||||
|
@ -1,6 +1,6 @@
|
||||
$OpenBSD: patch-libusb-1_0_pc_in,v 1.1 2012/04/22 19:52:05 mpi Exp $
|
||||
$OpenBSD: patch-libusb-1_0_pc_in,v 1.2 2012/07/08 17:41:14 sthen Exp $
|
||||
--- libusb-1.0.pc.in.orig Fri Apr 20 08:44:27 2012
|
||||
+++ libusb-1.0.pc.in Sun Apr 22 21:40:12 2012
|
||||
+++ libusb-1.0.pc.in Sun Jul 8 19:06:59 2012
|
||||
@@ -6,7 +6,7 @@ includedir=@includedir@
|
||||
Name: libusb-1.0
|
||||
Description: C API for USB device access from Linux, Mac OS X, OpenBSD, NetBSD and Windows userspace
|
||||
@ -8,5 +8,6 @@ $OpenBSD: patch-libusb-1_0_pc_in,v 1.1 2012/04/22 19:52:05 mpi Exp $
|
||||
-Libs: -L${libdir} -lusb-1.0
|
||||
+Libs: -L${libdir} -lusb-1.0 -pthread
|
||||
Libs.private: @PC_LIBS_PRIVATE@
|
||||
Cflags: -I${includedir}/libusb-1.0
|
||||
-Cflags: -I${includedir}/libusb-1.0
|
||||
+Cflags: -I${includedir}/libusb-1.0 -pthread
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user