1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Linux: Allow unbundling brotli to use system library

This commit is contained in:
Rémi Verschelde
2023-07-06 14:46:34 +02:00
parent b7c2fd2e9a
commit 153c4a4c4f
4 changed files with 9 additions and 5 deletions

View File

@@ -35,13 +35,13 @@
#include "thirdparty/misc/fastlz.h"
#ifdef BROTLI_ENABLED
#include "thirdparty/brotli/include/brotli/decode.h"
#endif
#include <zlib.h>
#include <zstd.h>
#ifdef BROTLI_ENABLED
#include <brotli/decode.h>
#endif
int Compression::compress(uint8_t *p_dst, const uint8_t *p_src, int p_src_size, Mode p_mode) {
switch (p_mode) {
case MODE_BROTLI: {