Blame SOURCES/opencryptoki-openssl3-11196c4d7e221d29f0d385bd48ae4d6023a6e874.patch

2c1758
commit 11196c4d7e221d29f0d385bd48ae4d6023a6e874
2c1758
Author: Ingo Franzki <ifranzki@linux.ibm.com>
2c1758
Date:   Wed Jun 30 10:56:17 2021 +0200
2c1758
2c1758
    CONFIGURE: fix configure.ac for --with-openssl
2c1758
    
2c1758
    The openSSL include files are in <openssl-path>/include while
2c1758
    the libraries are in <openssl-path> directly.
2c1758
    
2c1758
    Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com>
2c1758
2c1758
diff --git a/configure.ac b/configure.ac
2c1758
index e2cc537a..d3374476 100644
2c1758
--- a/configure.ac
2c1758
+++ b/configure.ac
2c1758
@@ -272,7 +272,7 @@ OPENSSL_CFLAGS=
2c1758
 OPENSSL_LIBS=
2c1758
 if test "x$with_openssl" != "xno"; then
2c1758
 	if test "x$with_openssl" != "xyes" -a "x$with_openssl" != "xcheck"; then
2c1758
-		OPENSSL_CFLAGS="-I$with_openssl"
2c1758
+		OPENSSL_CFLAGS="-I$with_openssl/include"
2c1758
 		OPENSSL_LIBS="-L$with_openssl"
2c1758
 	fi
2c1758
 	old_cflags="$CFLAGS"