From 1582f2e243135ef4ee4bc6e571c67efca25f8f51 Mon Sep 17 00:00:00 2001 From: Dave Smith Date: Tue, 26 Jan 2010 13:50:17 -0700 Subject: Tweak support for controlling so_name --- src/rebar_port_compiler.erl | 4 ++-- 1 file 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]). -- cgit v1.1