xrdp/xorg/X11R7.6/xorg-server-1.9.3.patch
Pavel Roskin 983a7073bf Use OPENSSL_CFLAGS even if -lcrypto is used directly
OpenSSL headers are used even when the full set of OpenSSL libraries is
not used.
2017-01-17 18:10:13 -08:00

11 lines
264 B
Diff

--- a/configure
+++ b/configure
@@ -21551,6 +21551,7 @@
if test "x$with_sha1" = xlibcrypto; then
if test "x$HAVE_LIBCRYPTO" = xyes; then
SHA1_LIBS=-lcrypto
+ SHA1_CFLAGS="$OPENSSL_CFLAGS"
else
SHA1_LIBS="$OPENSSL_LIBS"
SHA1_CFLAGS="$OPENSSL_CFLAGS"