mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-12-07 10:38:23 +00:00
* Replace protobuf 2.6.1 with 3.21.8 * Update/add protobuf libs * Add CS2 protos * Remove old csgo/dota protos * Add versioned protoc bin * Comment out Valve's `schema` define for now * Use ENetworkDisconnectionReason * Fix-up `offsetof` to avoid errors on some Clang versions
12 lines
468 B
Plaintext
12 lines
468 B
Plaintext
PHP_ARG_ENABLE(protobuf, whether to enable Protobuf extension, [ --enable-protobuf Enable Protobuf extension])
|
|
|
|
if test "$PHP_PROTOBUF" != "no"; then
|
|
|
|
PHP_NEW_EXTENSION(
|
|
protobuf,
|
|
arena.c array.c convert.c def.c map.c message.c names.c php-upb.c protobuf.c third_party/utf8_range/naive.c third_party/utf8_range/range2-neon.c third_party/utf8_range/range2-sse.c,
|
|
$ext_shared, , -std=gnu99)
|
|
PHP_ADD_BUILD_DIR($ext_builddir/third_party/utf8_range)
|
|
|
|
fi
|