diff options
author | Andrey Pampukha <[email protected]> | 2010-03-12 11:55:36 +0100 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2010-06-09 16:19:12 +0200 |
commit | 6d2e8af337b046dcb4d569c18af3bfb597d7c0bf (patch) | |
tree | b8894592a2a85c66fdabd2d3d2e38c73fba7a638 /lib | |
parent | 66aac8ed29c5cb6ecf06491938d90b27100e6919 (diff) | |
download | otp-6d2e8af337b046dcb4d569c18af3bfb597d7c0bf.tar.gz otp-6d2e8af337b046dcb4d569c18af3bfb597d7c0bf.tar.bz2 otp-6d2e8af337b046dcb4d569c18af3bfb597d7c0bf.zip |
Remove dialyzer warning
Diffstat (limited to 'lib')
-rw-r--r-- | lib/test_server/src/ts_erl_config.erl | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/lib/test_server/src/ts_erl_config.erl b/lib/test_server/src/ts_erl_config.erl index 5cdbf0fbb8..14c36a2c35 100644 --- a/lib/test_server/src/ts_erl_config.erl +++ b/lib/test_server/src/ts_erl_config.erl @@ -70,18 +70,18 @@ dl_vars(Vars, _) -> ShlibRules = ts_lib:subst(ShlibRules0, Vars), [{'SHLIB_RULES', ShlibRules}|Vars]. -erts_lib_name(multi_threaded, win32) -> +erts_lib_name(multi_threaded, {win32, V}) -> link_library("erts_MD" ++ case is_debug_build() of true -> "d"; false -> "" end, - win32); -erts_lib_name(single_threaded, win32) -> + {win32, V}); +erts_lib_name(single_threaded, {win32, V}) -> link_library("erts_ML" ++ case is_debug_build() of true -> "d"; false -> "" end, - win32); + {win32, V}); erts_lib_name(multi_threaded, OsType) -> link_library("erts_r", OsType); erts_lib_name(single_threaded, OsType) -> @@ -349,10 +349,7 @@ sock_libraries({unix, _}) -> sock_libraries(vxworks) -> ""; sock_libraries(ose) -> - ""; -sock_libraries(_Other) -> - exit({sock_libraries, not_supported}). - + "". link_library(LibName,{win32, _}) -> LibName ++ ".lib"; |