Skip to content

Commit

Permalink
Set DYNAMIC_GHC_PROGRAMS=NO for FreeBSD because $ORIGIN is not resolved
Browse files Browse the repository at this point in the history
properly (see #7819)
  • Loading branch information
pgj committed Apr 27, 2013
1 parent e5944d9 commit 8ab3cc1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mk/config.mk.in
Expand Up @@ -134,6 +134,10 @@ DYNAMIC_TOO = YES
ifeq "$(TargetOS_CPP)" "mingw32"
# This doesn't work on Windows yet
DYNAMIC_GHC_PROGRAMS = NO
else ifeq "$(TargetOS_CPP)" "freebsd"
# FreeBSD cannot do proper resolution for $ORIGIN (due to a bug in
# rtld(1)), so disable it by default (see #7819).
DYNAMIC_GHC_PROGRAMS = NO
else
DYNAMIC_GHC_PROGRAMS = YES
endif
Expand Down

0 comments on commit 8ab3cc1

Please sign in to comment.