From: Uwe Hermann Date: Tue, 15 Nov 2011 00:11:27 +0000 (+0100) Subject: libsigrok.pc: Add Required.private field entries. X-Git-Tag: libsigrok-0.1.0~232 X-Git-Url: http://sigrok.org/gitweb/?p=libsigrok.git;a=commitdiff_plain;h=300007323ec5963e211b75d2e0d957721dea35fa 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. --- diff --git a/libsigrok.pc.in b/libsigrok.pc.in index e0a41826..be0c9c11 100644 --- a/libsigrok.pc.in +++ b/libsigrok.pc.in @@ -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}