diff --git a/php/BUILD.bazel b/php/BUILD.bazel index e3be2225ed88..86b19e6e02d6 100644 --- a/php/BUILD.bazel +++ b/php/BUILD.bazel @@ -148,6 +148,7 @@ pkg_files( ]) + [ "//:LICENSE", "ext/google/protobuf/config.m4", + "ext/google/protobuf/config.w32", "ext/google/protobuf/wkt.inc", ], ) diff --git a/php/ext/google/protobuf/config.w32 b/php/ext/google/protobuf/config.w32 new file mode 100644 index 000000000000..825197c409bd --- /dev/null +++ b/php/ext/google/protobuf/config.w32 @@ -0,0 +1,14 @@ +ARG_ENABLE("protobuf", "whether to enable Protobuf extension", "no"); + +if (PHP_PROTOBUF != "no") { + + var PHP_PROTOBUF_SRC_ARRAY = glob(configure_module_dirname + "/third_party/utf8_range/*.c"); + var PHP_PROTOBUF_SOURCES=" "; + for (var i=0; i