Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | Link with libssl |
| 2 | |
| 3 | fixed build with openssl-1.1.x |
| 4 | |
| 5 | Taken from Fedora |
| 6 | https://src.fedoraproject.org/rpms/openhpi/c/be77f5484b0206f8946a85b29424ea10bf863063 |
| 7 | |
| 8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 9 | Upstream-Status: Unknown |
| 10 | |
| 11 | diff -up openhpi-3.6.1/ssl/Makefile.am.than openhpi-3.6.1/ssl/Makefile.am |
| 12 | --- openhpi-3.6.1/ssl/Makefile.am.than 2017-02-21 12:21:12.114814698 -0500 |
| 13 | +++ openhpi-3.6.1/ssl/Makefile.am 2017-02-21 12:22:44.576454262 -0500 |
| 14 | @@ -19,5 +19,5 @@ lib_LTLIBRARIES = libopenhpi_ssl.la |
| 15 | libopenhpi_ssl_la_SOURCES = oh_ssl.c oh_ssl.h |
| 16 | |
| 17 | libopenhpi_ssl_la_LDFLAGS = -version-info @HPI_LIB_VERSION@ |
| 18 | -libopenhpi_ssl_la_LIBADD = @CRYPTO_LIB@ |
| 19 | +libopenhpi_ssl_la_LIBADD = -lssl @CRYPTO_LIB@ |
| 20 | |