From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-bk0-x22b.google.com ([2a00:1450:4008:c01::22b]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WTV63-0001hn-5q for ptxdist@pengutronix.de; Fri, 28 Mar 2014 12:37:15 +0100 Received: by mail-bk0-f43.google.com with SMTP id v15so896293bkz.30 for ; Fri, 28 Mar 2014 04:37:09 -0700 (PDT) Date: Fri, 28 Mar 2014 12:37:03 +0100 From: Alexander Aring Message-ID: <20140328113659.GA32407@omega.Speedport_W_921V_1_24_000> References: <1396006229-10616-1-git-send-email-alex.aring@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1396006229-10616-1-git-send-email-alex.aring@gmail.com> Subject: Re: [ptxdist] [PATCH] libusb: drop libusb and use libusbx Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: lammers@mwlaser.de On Fri, Mar 28, 2014 at 12:30:29PM +0100, Alexander Aring wrote: ... > --- /dev/null > +++ b/patches/libusbx-1.0.18/0001-libusbx-libusb-needs-librt-and-libpthread.patch > @@ -0,0 +1,35 @@ > +From 7a2b30e9b82fd2b14c94600534513892bc2f7bbe Mon Sep 17 00:00:00 2001 > +From: Alexander Aring > +Date: Fri, 28 Mar 2014 12:04:23 +0100 > +Subject: [PATCH] libusbx: libusb needs librt and libpthread > + > +This patch is taken from the old libusb package and changes to apply the > +libusbx package. Original commit msg from patch is: > + > +Add missing dependencies. > + > +20100603 rsc: The patch was closed upstream, and I don't > + remember a use case any more :-( Let's keep it > + here for the moment, until we have a user. > +20100101 rsc: added as http://libusb.org/ticket/24 > + > +Signed-off-by: Alexander Aring > +--- > + libusb-1.0.pc.in | 2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/libusb-1.0.pc.in b/libusb-1.0.pc.in > +index 7bc33c1..ec361a5 100644 > +--- a/libusb-1.0.pc.in > ++++ b/libusb-1.0.pc.in > +@@ -6,6 +6,6 @@ includedir=@includedir@ > + Name: libusbx-1.0 > + Description: C API for USB device access from Linux, Mac OS X, Windows and OpenBSD/NetBSD userspace > + Version: @VERSION@ > +-Libs: -L${libdir} -lusb-1.0 > ++Libs: -L${libdir} -lusb-1.0 -lusb-1.0 -lrt -lpthread grml, one "-lusb-1.0" too much. I will change that and wait for Michaels opinion if the rest seems to be okay. Sorry Martin please change that... but it should also work with a double "-lusb-1.0" in compiler flags. - Alex -- ptxdist mailing list ptxdist@pengutronix.de