--- include/openssl/opensslconf.h.orig	2017-04-08 10:31:30.000000000 +0000
+++ include/openssl/opensslconf.h	2017-04-11 14:01:47.000000000 +0000
@@ -6,7 +6,7 @@
 #endif
 
 #if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR)
-#define OPENSSLDIR "/etc/ssl"
+#define OPENSSLDIR "@OPENSSLDIR@"
 #endif
 
 #undef OPENSSL_UNISTD
