package/libupnp18: fix static linking with mpd
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Fri, 8 Feb 2019 20:46:56 +0000 (21:46 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 11 Feb 2019 14:35:33 +0000 (15:35 +0100)
commit2f67573373c7ee52b28771c8ed0fffb3dfcd5fbc
tree4029bd6b41f084ac85bafc9ebfe36c828bb3c968
parentc96156add9b83e5f381edd89301ffb89ea9e0a86
package/libupnp18: fix static linking with mpd

- Add a call to PKG_CHECK_MODULES in configure.ac to get openssl
  libraries and its dependencies if openssl support is enabled
- Add OPENSSL_LIBS to libupnp.pc.in so that applications linking with
  pupnp (such as mpd) will be able to retrieve openssl libraries

Fixes:
 - http://autobuild.buildroot.org/results/a4148e516070b79816769f3443fc24d6d8192073

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libupnp18/0001-configure.ac-fix-build-with-openssl.patch [new file with mode: 0644]
package/libupnp18/libupnp18.mk