File openssl-pkgconfig.patch of Package openssl-1_1.17564
Index: openssl-1.1.1/Configurations/unix-Makefile.tmpl
===================================================================
--- openssl-1.1.1.orig/Configurations/unix-Makefile.tmpl 2018-09-11 17:23:10.070868304 +0200
+++ openssl-1.1.1/Configurations/unix-Makefile.tmpl 2018-09-11 17:23:14.326897684 +0200
@@ -885,7 +885,7 @@ libcrypto.pc:
echo 'Version: '$(VERSION); \
echo 'Libs: -L$${libdir} -lcrypto'; \
echo 'Libs.private: $(LIB_EX_LIBS)'; \
- echo 'Cflags: -I$${includedir}' ) > libcrypto.pc
+ echo 'Cflags: -DOPENSSL_LOAD_CONF -I$${includedir}' ) > libcrypto.pc
libssl.pc:
@ ( echo 'prefix=$(INSTALLTOP)'; \
@@ -902,7 +902,7 @@ libssl.pc:
echo 'Version: '$(VERSION); \
echo 'Requires.private: libcrypto'; \
echo 'Libs: -L$${libdir} -lssl'; \
- echo 'Cflags: -I$${includedir}' ) > libssl.pc
+ echo 'Cflags: -DOPENSSL_LOAD_CONF -I$${includedir}' ) > libssl.pc
openssl.pc:
@ ( echo 'prefix=$(INSTALLTOP)'; \