libcpprestsdk: fix building as a static library
authorAdam Duskett <aduskett@gmail.com>
Mon, 12 Feb 2018 17:23:50 +0000 (12:23 -0500)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 13 Feb 2018 22:13:52 +0000 (23:13 +0100)
commitd2f0a9bba400c9c623da0d34d1e58341b16241a2
tree462a6eaff75ed93217ace51c255cfb85208536c9
parent2b0ca5749cde19ab456c80de133a0bd5f7dc5069
libcpprestsdk: fix building as a static library

Use pkg-config to find OpenSSL. This will automatically find any
dependent libraries and put them in the correct order for linking.

Upstream status: submitted
https://github.com/Microsoft/cpprestsdk/pull/688

Fixes:

  http://autobuild.buildroot.net/results/be9e8d1717968a0ff8f01f7fadfa79825ac88b94/

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Reviewed-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libcpprestsdk/0004-libcpprestsdk-fix-building-as-a-static-library.patch [new file with mode: 0644]