]> sigrok.org Git - libsigrok.git/commitdiff
libsigrok.pc: Add Required.private field entries.
authorUwe Hermann <redacted>
Tue, 15 Nov 2011 00:11:27 +0000 (01:11 +0100)
committerUwe Hermann <redacted>
Tue, 15 Nov 2011 00:16:38 +0000 (01:16 +0100)
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.

libsigrok.pc.in

index e0a41826b2267a674a4bc62079558bface7d7727..be0c9c1109f07f769b8885bc22a7a92d17965083 100644 (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}