summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Benjamin Trigona-Harany2013-11-07 04:20:04 +0100
committer Robby Workman2013-11-11 17:49:27 +0100
commit1eaf14e53029ba14565bf0109bfbd658082c14e8 (patch)
treeaab19941848967cba74274b0e0d204de12d96fac
parent2afbb9870c8caf11ebd97e79e54e877736abe0af (diff)
downloadslackbuilds-1eaf14e53029ba14565bf0109bfbd658082c14e8.tar.gz
system/postgresql: Include symlinks to libpq.so libraries.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--system/postgresql/postgresql.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/system/postgresql/postgresql.SlackBuild b/system/postgresql/postgresql.SlackBuild
index 3dc0dbbad8..bd32ff4e2b 100644
--- a/system/postgresql/postgresql.SlackBuild
+++ b/system/postgresql/postgresql.SlackBuild
@@ -101,6 +101,10 @@ make
make install-strip DESTDIR=$PKG
make install-docs DESTDIR=$PKG
+# create symlinks to shared library for other programs to link against
+( cd $PKG/usr/lib${LIBDIRSUFFIX}
+ for i in $(ls $PRGNAM/$PG_VERSION/lib/libpq.so*) ; do ln -sf $i ; done
+)
# Some interesting additional modules:
# http://www.postgresql.org/docs/9.3/static/contrib.html