diff options
author | Fabian Groffen <grobian@gentoo.org> | 2017-12-16 15:38:53 +0100 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2017-12-16 21:58:24 +0100 |
commit | 774e88bd1e08bd92a228f09c09395839755cddde (patch) | |
tree | 5e5176f686c6231c0841a049e236d8b9c5b25ab2 /dev-db/lmdb | |
parent | sys-devel/gcc-config: Add live ebuild (diff) | |
download | gentoo-774e88bd1e08bd92a228f09c09395839755cddde.tar.gz gentoo-774e88bd1e08bd92a228f09c09395839755cddde.tar.bz2 gentoo-774e88bd1e08bd92a228f09c09395839755cddde.zip |
dev-db/lmdb: fix linking on Solaris 10
Package-Manager: Portage-2.3.18-prefix, Repoman-2.3.6
Diffstat (limited to 'dev-db/lmdb')
-rw-r--r-- | dev-db/lmdb/lmdb-0.9.19.ebuild | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dev-db/lmdb/lmdb-0.9.19.ebuild b/dev-db/lmdb/lmdb-0.9.19.ebuild index c4452f3a228f..116e69d4f999 100644 --- a/dev-db/lmdb/lmdb-0.9.19.ebuild +++ b/dev-db/lmdb/lmdb-0.9.19.ebuild @@ -38,6 +38,8 @@ src_configure() { if [[ ${CHOST} == *-solaris* ]] ; then # ensure sigwait has a second sig argument append-cppflags -D_POSIX_PTHREAD_SEMANTICS + # fdatasync lives in -lrt on Solaris 10 + [[ ${CHOST#*-solaris2.} -le 10 ]] && append-ldflags -lrt fi } |