Making more flexible

This commit is contained in:
Pavel Shevaev 2022-05-18 12:46:51 +03:00
parent a6e2f881af
commit 0bdbdcbcf7
1 changed files with 1 additions and 2 deletions

View File

@ -12,11 +12,10 @@ task('bhl_clean_cache', function()
bhl_clean_cache(); bhl_clean_cache();
}); });
function bhl_build_dll() function bhl_build_dll($mcs_bin)
{ {
global $GAME_ROOT; global $GAME_ROOT;
$mcs_bin = mono_mcs_bin();
$dll_file = "$GAME_ROOT/unity/Assets/Plugins/game_bhl.dll"; $dll_file = "$GAME_ROOT/unity/Assets/Plugins/game_bhl.dll";
bhl_shell_ensure("build_back_dll $mcs_bin $dll_file " . (is_dev() ? '-debug' : '')); bhl_shell_ensure("build_back_dll $mcs_bin $dll_file " . (is_dev() ? '-debug' : ''));