We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83f9c49 commit 4b0ef87Copy full SHA for 4b0ef87
ext/phar/config.w32
@@ -13,14 +13,9 @@ if (PHP_PHAR != "no") {
13
ADD_FLAG("CFLAGS_PHAR", "/D COMPILE_DL_PHAR ");
14
}
15
if (PHP_PHAR_NATIVE_SSL != "no") {
16
- if (CHECK_LIB("libeay32st.lib", "phar")) {
17
- /* We don't really need GDI for this, but there's no
18
- way to avoid linking it in the static openssl build */
19
- ADD_FLAG("LIBS_PHAR", "libeay32st.lib gdi32.lib");
20
- if (PHP_DEBUG == "no") {
21
- /* Silence irrelevant-to-us warning in release builds */
22
- ADD_FLAG("LDFLAGS_PHAR", "/IGNORE:4089 ");
23
- }
+ var ret = SETUP_OPENSSL("phar", PHP_PHAR);
+
+ if (ret >= 2) {
24
AC_DEFINE('PHAR_HAVE_OPENSSL', 1);
25
STDOUT.WriteLine(' Native OpenSSL support in Phar enabled');
26
} else {
0 commit comments