compiler.find_library() -> compilers['cpp'].find_library()

This commit is contained in:
Inori 2019-12-14 13:45:56 -05:00
parent c863267965
commit 4348462d84
2 changed files with 1 additions and 2 deletions

View file

@ -639,7 +639,6 @@ void FileSystem::openRead(OpenHandler &handler, const char *filename)
// FIXME: Paths with Windows drive letters don't
// hecking work, apparently never did
char *filename_nm = normalize(filename, false, false);
Debug() << filename_nm;
char buffer[512];
size_t len = strcpySafe(buffer, filename_nm, sizeof(buffer), -1);
delete filename_nm;

View file

@ -22,7 +22,7 @@ if host_system == 'darwin'
add_project_arguments('-DUSE_MAC_OPENAL', language: 'cpp')
endif
elif host_system == 'windows'
global_dependencies += compiler.find_library('wsock32')
global_dependencies += compilers['cpp'].find_library('wsock32')
endif
if get_option('shared_fluid') == true