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:
parent
5c582d9f61
commit
300007323e
|
@ -7,7 +7,9 @@ Name: libsigrok
|
||||||
Description: Backend library of the sigrok logic analyzer software
|
Description: Backend library of the sigrok logic analyzer software
|
||||||
URL: http://www.sigrok.org
|
URL: http://www.sigrok.org
|
||||||
Requires:
|
Requires:
|
||||||
|
Requires.private: @LIBSIGROK_PKGLIBS@
|
||||||
Version: @VERSION@
|
Version: @VERSION@
|
||||||
Libs: -L${libdir} -lsigrok
|
Libs: -L${libdir} -lsigrok
|
||||||
|
Libs.private:
|
||||||
Cflags: -I${includedir}
|
Cflags: -I${includedir}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue