wrapper: depsdir resolution needs to be safe for absolute paths
Wine uses absolute paths to the toolchain dependencies (like libgcc_s_seh)
This commit is contained in:
parent
8caeef1819
commit
1cfff20fa5
@ -131,7 +131,7 @@ else:
|
||||
depsdir = ['lib', 'lib64']
|
||||
searchvar = 'LD_LIBRARY_PATH'
|
||||
|
||||
depsdir = [ f"@CMAKE_CURRENT_BINARY_DIR@/deps/{dir}" for dir in depsdir ]
|
||||
depsdir = [ os.path.join("@CMAKE_CURRENT_BINARY_DIR@/deps/", dir) for dir in depsdir ]
|
||||
|
||||
# append the in-tree dependencies to the library path
|
||||
search = separator.join(
|
||||
|
Loading…
Reference in New Issue
Block a user