[Buildroot] [buildroot 0001582]: libusb tries to build c++ library even if compiler not available

bugs at busybox.net bugs at busybox.net
Fri Nov 9 09:27:40 UTC 2007


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=1582 
====================================================================== 
Reported By:                hmoffatt
Assigned To:                buildroot
====================================================================== 
Project:                    buildroot
Issue ID:                   1582
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             11-08-2007 19:03 PST
Last Modified:              11-09-2007 01:27 PST
====================================================================== 
Summary:                    libusb tries to build c++ library even if compiler
not available
Description: 
libusb tries to build a C++ library (libusbpp) even if cross-g++ is not
available. It actually tries to use the host compiler, then complains
about mixing objects from the host and target platforms at link time.

My fix was to disable the C++ library and also the test suite which uses
it, in the attached patch. There doesn't seem to be a configure option in
libusb to disable that more cleanly.
====================================================================== 

---------------------------------------------------------------------- 
 vanokuten - 11-09-07 01:27  
---------------------------------------------------------------------- 
Applied, thanks! in r20389 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-08-07 19:03  hmoffatt       New Issue                                    
11-08-07 19:03  hmoffatt       Status                   new => assigned     
11-08-07 19:03  hmoffatt       Assigned To               => buildroot       
11-08-07 19:03  hmoffatt       File Added: br-libusb-cpp.mk                    
11-09-07 01:27  vanokuten      Note Added: 0002899                          
======================================================================




More information about the buildroot mailing list