mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
meson: Use files to track the map file presence
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user