Skip to content

Commit

Permalink
Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghc
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Lynagh committed Apr 27, 2013
2 parents f6f1252 + c797499 commit 2cf5bd3
Show file tree
Hide file tree
Showing 2 changed files with 7 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
3 changes: 3 additions & 0 deletions rts/package.conf.in
Expand Up @@ -41,6 +41,9 @@ extra-libraries:
,"gdi32" /* for the linker */
,"winmm" /* for the linker */
#endif
#ifdef freebsd_HOST_OS
, "pthread" /* for pthread_getthreadid_np() */
#endif
#if defined(DEBUG) && defined(HAVE_LIBBFD)
,"bfd", "iberty" /* for debugging */
#endif
Expand Down

0 comments on commit 2cf5bd3

Please sign in to comment.