Skip to content

Commit cb0b923

Browse files
postgresql: fix missing symbols at runtime
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 <dfdpublic@wildtechgarden.ca>
1 parent 384d738 commit cb0b923

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

libs/postgresql/Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
66

77
PKG_NAME:=postgresql
88
PKG_VERSION:=17.5
9-
PKG_RELEASE:=2
9+
PKG_RELEASE:=3
1010
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
1111
PKG_LICENSE:=PostgreSQL
1212
PKG_CPE_ID:=cpe:/a:postgresql:postgresql
@@ -119,7 +119,9 @@ PGSQL_CONFIG_VARS:= \
119119
pgac_cv_snprintf_size_t_support=yes \
120120
USE_DEV_URANDOM=1 \
121121
ac_cv_file__dev_urandom="/dev/urandom" \
122-
ZIC=zic
122+
ZIC=zic \
123+
pgac_cv_prog_cc_LDFLAGS_EX_BE__Wl___export_dynamic=yes \
124+
pgac_cv_prog_cc_LDFLAGS__Wl___as_needed=yes
123125

124126
TARGET_CONFIGURE_OPTS+=$(PGSQL_CONFIG_VARS)
125127

0 commit comments

Comments
 (0)