aboutsummaryrefslogtreecommitdiff
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:49:27 -0600
commit1eaf14e53029ba14565bf0109bfbd658082c14e8 (patch)
treeaab19941848967cba74274b0e0d204de12d96fac
parent2afbb9870c8caf11ebd97e79e54e877736abe0af (diff)
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