build broken as '-lusb-1.0' is missing...

Thiago Macieira thiago at macieira.org
Sat Dec 27 04:54:33 PST 2014


On Saturday 27 December 2014 11:38:16 Cristian Ionescu-Idbohrn wrote:
> ...from the generated Makefile (on the master branch).
> 
> If I manually add it:
> 
> 	... -ldivecomputer -lusb-1.0 -lxslt -lxml2 ...
> 	                   ^^^^^^^^^
> at a strategic point, on line 21:
> 
> 	LIBS          = $(SUBLIBS) ...
> 
> I get a ./subsurface executable.

Indirect dependency due to static linking of libdivecomputer. We already have 
code to deal with that by parsing its .la file.

How did you install libdivecomputer and where is the .la file?
-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358



More information about the subsurface mailing list