package/postgresql: add lz4 and zstd support
PostgreSQL has optional compression support (LZ4 and Zstandard). So enable it if libraries are available. Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
c36f693885
commit
9cd2e6e090
@ -91,6 +91,20 @@ else
|
||||
POSTGRESQL_CONF_OPTS += --without-libxml
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ZSTD),y)
|
||||
POSTGRESQL_DEPENDENCIES += zstd
|
||||
POSTGRESQL_CONF_OPTS += --with-zstd
|
||||
else
|
||||
POSTGRESQL_CONF_OPTS += --without-zstd
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LZ4),y)
|
||||
POSTGRESQL_DEPENDENCIES += lz4
|
||||
POSTGRESQL_CONF_OPTS += --with-lz4
|
||||
else
|
||||
POSTGRESQL_CONF_OPTS += --without-lz4
|
||||
endif
|
||||
|
||||
# required for postgresql.service Type=notify
|
||||
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
||||
POSTGRESQL_DEPENDENCIES += systemd
|
||||
|
Loading…
Reference in New Issue
Block a user