From 9019c8a9f7118721eecbda1c76d67ceb0ced070c Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 14 Apr 2022 13:59:33 -0400 Subject: system/postgresql: Strip pg_config binary. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- system/postgresql/postgresql.SlackBuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'system/postgresql') diff --git a/system/postgresql/postgresql.SlackBuild b/system/postgresql/postgresql.SlackBuild index 987f2102b0114..2c64bf5d5e667 100644 --- a/system/postgresql/postgresql.SlackBuild +++ b/system/postgresql/postgresql.SlackBuild @@ -24,11 +24,14 @@ # Modified by the SlackBuilds.org Project +# 20220301 bkw: Modified by SlackBuilds.org, BUILD=2: +# - strip pg_config binary (install-strip misses that one). + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=postgresql VERSION=${VERSION:-14.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -130,6 +133,9 @@ make make install-strip DESTDIR=$PKG make install-docs DESTDIR=$PKG +# 20220414 bkw: this one binary wasn't getting stripped... +strip $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM/$PG_VERSION/bin/pg_config + # create symlinks to shared library for other programs to link against ( cd $PKG/usr/lib${LIBDIRSUFFIX} for i in $(ls $PRGNAM/$PG_VERSION/lib/lib*.so*) ; do ln -sf $i ; done -- cgit v1.2.3