mirror of
https://gitlab.gnome.org/GNOME/evince
synced 2024-06-30 22:54:23 +00:00
windows: build needs shlwapi
* PathFindExtension() needs shlwapi DLL to build on Windows. shlwapi only is defined on windows platform.
This commit is contained in:
parent
dc631aa511
commit
87ffebe573
|
@ -10,7 +10,15 @@ libsynctex = static_library(
|
|||
c_args: '-DSYNCTEX_VERBOSE=0',
|
||||
)
|
||||
|
||||
# for PathFindExtension
|
||||
if host_machine.system() == 'windows'
|
||||
shlwapi = cc.find_library('shlwapi')
|
||||
else
|
||||
shlwapi = []
|
||||
endif
|
||||
|
||||
synctex_dep = declare_dependency(
|
||||
include_directories: include_directories('.'),
|
||||
dependencies: shlwapi,
|
||||
link_with: libsynctex,
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user