diff options
-rw-r--r-- | core/deps.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/deps.mk b/core/deps.mk index 00d96aa..21281ec 100644 --- a/core/deps.mk +++ b/core/deps.mk @@ -604,6 +604,8 @@ define dep_autopatch_rebar.erl "\t$$\(CC) -o $$\@ $$\? $$\(LDFLAGS) $$\(ERL_LDFLAGS) $$\(DRV_LDFLAGS) $$\(LDLIBS) $$\(EXE_LDFLAGS)", case {filename:extension(Output), $(PLATFORM)} of {[], _} -> "\n"; + {".so", darwin} -> "-shared\n"; + {".dylib", darwin} -> "-shared\n"; {_, darwin} -> "\n"; _ -> " -shared\n" end]) |