meson: Use files to track the map file presence
This commit is contained in:
parent
d7100e41df
commit
5bed81025e
1 changed files with 3 additions and 3 deletions
|
@ -186,9 +186,6 @@ drivers_sources += configure_file(input: 'empty_file',
|
|||
'\n'.join(drivers_type_list + [] + drivers_type_func)
|
||||
])
|
||||
|
||||
mapfile = 'libfprint.ver'
|
||||
vflag = '-Wl,--version-script,@0@/@1@'.format(meson.current_source_dir(), mapfile)
|
||||
|
||||
deps = [ mathlib_dep, glib_dep, gusb_dep, nss_dep, imaging_dep, gio_dep ]
|
||||
|
||||
deps += declare_dependency(include_directories: [
|
||||
|
@ -212,6 +209,9 @@ libfprint_private = static_library('fprint-private',
|
|||
dependencies: deps,
|
||||
install: false)
|
||||
|
||||
mapfile = files('libfprint.ver')
|
||||
vflag = '-Wl,--version-script,@0@/@1@'.format(meson.source_root(), mapfile[0])
|
||||
|
||||
libfprint = library('fprint',
|
||||
sources: libfprint_sources + fp_enums + drivers_sources + other_sources,
|
||||
soversion: soversion,
|
||||
|
|
Loading…
Reference in a new issue