zeromq: fix pkg-config file for static linking
authorPeter Korsgaard <peter@korsgaard.com>
Wed, 13 May 2015 07:13:28 +0000 (09:13 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 13 May 2015 07:15:21 +0000 (09:15 +0200)
commita9876fb0990cc8232eb21f5aaf34f442b3bb5667
tree309ba39b9f565243a770994ac0e8680e53f5106f
parentaa5254f1a2bc0ea3181d51990c18681b3071b9db
zeromq: fix pkg-config file for static linking

Fixes:
http://autobuild.buildroot.net/results/faf/faf0bb00fccb1350afaef55f6cf14c11a5f5dc3c/
http://autobuild.buildroot.net/results/8d2/8d279baa4c8bffbb01f897119092c7b736942df4/
http://autobuild.buildroot.net/results/4d3/4d3dea604da9a5a1e7fe20548813f8de474ae33f/
http://autobuild.buildroot.net/results/fd6/fd602617839817352763e51754553960b7f795ac/

And many more.

Libzmq uses C++ standard library features, so users of it should link
against that as well when statically linking.

Add it to Libs.private so users using pkg-config automatically gets the
correct linker flags.

Patch is upstream:
https://github.com/zeromq/libzmq/pull/1398

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/zeromq/0003-libzmq-Fix-pkg-config-files-for-static-linking.patch [new file with mode: 0644]