Fixes pgsql-server: the setup fails for any folder
Fixes #27228
Sets postgresql-specific configure flags that configure cannot run-test
to determine their value. This fixes improperly linked files that
prevent database initialization (at least) from working on the device.
Signed-off-by: Daniel F. Dickinson <redacted>
PKG_NAME:=postgresql
PKG_VERSION:=17.5
-PKG_RELEASE:=2
+PKG_RELEASE:=3
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
PKG_LICENSE:=PostgreSQL
PKG_CPE_ID:=cpe:/a:postgresql:postgresql
pgac_cv_snprintf_size_t_support=yes \
USE_DEV_URANDOM=1 \
ac_cv_file__dev_urandom="/dev/urandom" \
- ZIC=zic
+ ZIC=zic \
+ pgac_cv_prog_cc_LDFLAGS_EX_BE__Wl___export_dynamic=yes \
+ pgac_cv_prog_cc_LDFLAGS__Wl___as_needed=yes
TARGET_CONFIGURE_OPTS+=$(PGSQL_CONFIG_VARS)