Tweak support for controlling so_name

This commit is contained in:
Dave Smith 2010-01-26 13:50:17 -07:00
parent d32bd6d4a1
commit 1582f2e243

View file

@ -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]).