summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Smith <dizzyd@dizzyd.com>2010-01-26 13:50:17 -0700
committerDave Smith <dizzyd@dizzyd.com>2010-01-26 13:50:17 -0700
commit1582f2e243135ef4ee4bc6e571c67efca25f8f51 (patch)
treef3de3fd36fac6e663addf1d7d7242c478ca51b76
parentd32bd6d4a1205041ef050dabe0c73939efc2dc99 (diff)
Tweak support for controlling so_name
-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]).