Use OPENSSL_CFLAGS even if -lcrypto is used directly
OpenSSL headers are used even when the full set of OpenSSL libraries is not used.
This commit is contained in:
parent
bbe718bd3a
commit
983a7073bf
10
xorg/X11R7.6/xorg-server-1.9.3.patch
Normal file
10
xorg/X11R7.6/xorg-server-1.9.3.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- 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"
|
Loading…
Reference in New Issue
Block a user