libsigrok.pc: Add Required.private field entries.

The "Required.private:" field in pkg-config .pc files is used for
declaring that we need the listed libs (pkg-config packages) for
static linking, but not for dynamic linking.
I.e., the "Required.private:" field should be used for libs which we
use internally in libsigrok, but which we do not "expose" ourselves.

For now all libs are listed as "Required.private:" instead of
"Required:", but this may not be entirely correct and needs to be
checked carefully at some later date.
This commit is contained in:
Uwe Hermann 2011-11-15 01:11:27 +01:00
parent 5c582d9f61
commit 300007323e
1 changed files with 2 additions and 0 deletions

View File

@ -7,7 +7,9 @@ Name: libsigrok
Description: Backend library of the sigrok logic analyzer software
URL: http://www.sigrok.org
Requires:
Requires.private: @LIBSIGROK_PKGLIBS@
Version: @VERSION@
Libs: -L${libdir} -lsigrok
Libs.private:
Cflags: -I${includedir}