mirror of
https://github.com/correl/rebar.git
synced 2024-11-23 19:19:54 +00:00
Tweak support for controlling so_name
This commit is contained in:
parent
d32bd6d4a1
commit
1582f2e243
1 changed files with 2 additions and 2 deletions
|
@ -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]).
|
||||||
|
|
Loading…
Reference in a new issue