mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-09-10 12:02:53 +02:00
compiler.find_library() -> compilers['cpp'].find_library()
This commit is contained in:
parent
3ee8659dda
commit
8c512c5ff2
2 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue