aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-07-06 11:40:06 +0200
committerGitHub <[email protected]>2017-07-06 11:40:06 +0200
commit049c6f000e283c78838f00ced2acda3d8f6985a7 (patch)
treef26f45e6dfbbdcb6fcff773f8e17fd638f430a70
parentd3800c1921c303c65e490d8774f1a3306490250e (diff)
parent882c90f72ba4e298aa5a7796661c28053c540a96 (diff)
downloadotp-049c6f000e283c78838f00ced2acda3d8f6985a7.tar.gz
otp-049c6f000e283c78838f00ced2acda3d8f6985a7.tar.bz2
otp-049c6f000e283c78838f00ced2acda3d8f6985a7.zip
Merge pull request #1501 from bjorng/bjorn/macos-dynamic-loading/ERL-439
macOS: Fix problems loading crypto OTP-14499
-rw-r--r--erts/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/configure.in b/erts/configure.in
index 830e3d7776..85351ab7c7 100644
--- a/erts/configure.in
+++ b/erts/configure.in
@@ -3855,7 +3855,7 @@ case $host_os in
darwin*)
# Mach-O linker: a shared lib and a loadable
# object file is not the same thing.
- DED_LDFLAGS="-bundle -flat_namespace -undefined suppress"
+ DED_LDFLAGS="-bundle -bundle_loader ${ERL_TOP}/bin/$host/beam.smp"
case $ARCH in
amd64)
DED_LDFLAGS="-m64 $DED_LDFLAGS"