Explorar el Código

Tweak support for controlling so_name

pull/3/head
Dave Smith hace 15 años
padre
commit
1582f2e243
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      src/rebar_port_compiler.erl

+ 2
- 2
src/rebar_port_compiler.erl Ver fichero

@ -271,7 +271,7 @@ so_name(Config, AppFile) ->
%% generate the linked port driver name %% generate the linked port driver name
case rebar_app_utils:load_app_file(AppFile) of case rebar_app_utils:load_app_file(AppFile) of
{ok, AppName, _} -> {ok, AppName, _} ->
AppName;
lists:concat([AppName, "_drv.so"]);
error -> error ->
?FAIL ?FAIL
end; end;
@ -280,4 +280,4 @@ so_name(Config, AppFile) ->
end, end,
%% Construct the driver name %% Construct the driver name
?FMT("priv/~s_drv.so", [PortName]).
?FMT("priv/~s", [PortName]).

Cargando…
Cancelar
Guardar