* Use -all_load on Mac OS X.
This commit is contained in:
parent
ef9e2c8e73
commit
89cd0f57b1
1 changed files with 7 additions and 0 deletions
|
@ -180,6 +180,13 @@ AC_SUBST(NIX_GROUP)
|
|||
AC_DEFINE_UNQUOTED(NIX_GROUP, ["$NIX_GROUP"], [Nix group])
|
||||
|
||||
|
||||
# This is needed if either ATerm or Berkeley DB are static libraries,
|
||||
# and the Nix libraries are dynamic.
|
||||
if test "$(uname)" = "Darwin"; then
|
||||
LDFLAGS="-all_load $LDFLAGS"
|
||||
fi
|
||||
|
||||
|
||||
AM_CONFIG_HEADER([config.h])
|
||||
AC_CONFIG_FILES([Makefile
|
||||
externals/Makefile
|
||||
|
|
Loading…
Reference in a new issue