PortMidi / portmidi

portmidi is a cross-platform MIDI input/output library
Other
119 stars 33 forks source link

add alsa to Requires.private field of pkgconfig file #16

Closed Be-ing closed 2 years ago

Be-ing commented 2 years ago

From https://people.freedesktop.org/~dbn/pkg-config-guide.html

My library z uses libx internally, but does not expose libx data types in its public API. What do I put in my z.pc file?

Again, add the module to Requires.private if it supports pkg-config. In this case, the compiler flags will be emitted unnecessarily, but it ensures that the linker flags will be present when linking statically. If libx does not support pkg-config, add the necessary linker flags to Libs.private.