summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <slackbuilds@jaxartes.net>2013-11-06 19:20:04 -0800
committerRobby Workman <rworkman@slackbuilds.org>2013-11-11 10:53:38 -0600
commit964b83fea6f057820de8e465a0041d0ecfa35eca (patch)
treefb5afb7dab3773fa3bdf88339c77a408e1b571c7
parentbbe61e5f2eee45b477ba6fae221e5a08f8e7c85a (diff)
downloadslackbuilds-964b83fea6f057820de8e465a0041d0ecfa35eca.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