Browse Source

remove -bundle flag for darwin linker

Namdak Tonpa 6 years ago
parent
commit
ae853bc79d
3 changed files with 2 additions and 2 deletions
  1. 1 1
      include/mad.hrl
  2. BIN
      mad
  3. 1 1
      src/compile/mad_port.erl

+ 1 - 1
include/mad.hrl

@@ -1 +1 @@
--define(VERSION,"6b2a7a").
+-define(VERSION,"dc8c69").

BIN
mad


+ 1 - 1
src/compile/mad_port.erl

@@ -123,7 +123,7 @@ default_env() ->
     _Arch = os:getenv("REBAR_TARGET_ARCH"),
     _Vsn = os:getenv("REBAR_TARGET_ARCH_VSN"),
     [
-     {"darwin", "DRV_LDFLAGS", "-bundle -flat_namespace -undefined suppress " ++ei_dir(lib) ++" -lerl_interface -lei"},
+     {"darwin", "DRV_LDFLAGS", "-flat_namespace -undefined suppress " ++ei_dir(lib) ++" -lerl_interface -lei"},
      {"DRV_CFLAGS" , "-g -Wall -fPIC -MMD " ++ erl_ldflag()},
      {"DRV_LDFLAGS", "-shared " ++ erl_ldflag()},
      {"EXE_CFLAGS" , "-g -Wall -fPIC -MMD " ++ erl_ldflag()},