summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rebar_port_compiler.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_port_compiler.erl b/src/rebar_port_compiler.erl
index 46ce954..a770eda 100644
--- a/src/rebar_port_compiler.erl
+++ b/src/rebar_port_compiler.erl
@@ -271,7 +271,7 @@ so_name(Config, AppFile) ->
%% generate the linked port driver name
case rebar_app_utils:load_app_file(AppFile) of
{ok, AppName, _} ->
- AppName;
+ lists:concat([AppName, "_drv.so"]);
error ->
?FAIL
end;
@@ -280,4 +280,4 @@ so_name(Config, AppFile) ->
end,
%% Construct the driver name
- ?FMT("priv/~s_drv.so", [PortName]).
+ ?FMT("priv/~s", [PortName]).