What should be linked in the static library (-dev package)

Dmitrijs Ledkovs dmitrij.ledkov at gmail.com
Thu Apr 9 21:11:04 BST 2009


Dear mentors

I have a question about what should be linked inside static library
for the -dev package.

Just the library itself or the dependency libraries should be linked as well?

The upstream .pc.in file links in depending libraries into the static library:

@SHAREDLIB_FALSE at Libs: -L${libdir} -lsword -lz @CURL_LIBS@
@CLUCENE_LIBS@ @ICU_LIBS@ @ICU_IOLIBS@

is this correct behavior as per Debian/Ubuntu policies?

-- 
With best regards


Dmitrijs Ledkovs (for short Dima),
Ледков Дмитрий Юрьевич



More information about the Ubuntu-motu-mentors mailing list