aboutsummaryrefslogtreecommitdiff
path: root/lang/ghc
diff options
context:
space:
mode:
authorGabor Pali <pgj@FreeBSD.org>2013-03-31 13:43:10 +0000
committerGabor Pali <pgj@FreeBSD.org>2013-03-31 13:43:10 +0000
commit77296e779c490b483f671d9807458979cf6e64eb (patch)
tree706535a9ca9e2f059790de4fce1e4edf8c756239 /lang/ghc
parent584bdd7f8d9927df8b68dadef23b5ebf887b052a (diff)
downloadports-77296e779c490b483f671d9807458979cf6e64eb.tar.gz
ports-77296e779c490b483f671d9807458979cf6e64eb.zip
Notes
Diffstat (limited to 'lang/ghc')
-rw-r--r--lang/ghc/bsd.cabal.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/lang/ghc/bsd.cabal.mk b/lang/ghc/bsd.cabal.mk
index 107dda7a3b31..59978dc20a70 100644
--- a/lang/ghc/bsd.cabal.mk
+++ b/lang/ghc/bsd.cabal.mk
@@ -174,6 +174,7 @@ CONFIGURE_ARGS+= --haddock-options=-w --with-haddock=${HADDOCK_CMD}
.if ${PORT_OPTIONS:MDYNAMIC}
CONFIGURE_ARGS+= --enable-shared --enable-executable-dynamic
+CONFIGURE_ARGS+= "--ghc-option=-optl -rpath" "--ghc-option=-optl ${CABAL_LIBDIR}/${DISTNAME}"
.else
CONFIGURE_ARGS+= --disable-shared --disable-executable-dynamic
.endif