mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02:00
build: Add meson build system
Reuse the generated dbus interface .xml files from fprintd to avoid unnecessary copies.
This commit is contained in:
committed by
Bastien Nocera
parent
5c5849dca7
commit
eb6dbb6953
27
pam/meson.build
Normal file
27
pam/meson.build
Normal file
@ -0,0 +1,27 @@
|
||||
mapfile = files('pam_fprintd.ver')
|
||||
pam_modules_dir = '/' + get_option('libdir') / 'security'
|
||||
|
||||
pam_fprintd = shared_module('pam_fprintd',
|
||||
name_prefix: '',
|
||||
include_directories: [
|
||||
include_directories('..'),
|
||||
],
|
||||
sources: [
|
||||
'pam_fprintd.c',
|
||||
'fingerprint-strings.h',
|
||||
],
|
||||
dependencies: [
|
||||
libsystemd_dep,
|
||||
pam_dep,
|
||||
],
|
||||
c_args: [
|
||||
'-DLOCALEDIR="@0@"'.format(localedir),
|
||||
],
|
||||
link_args: [
|
||||
'-Wl,--version-script,@0@/@1@'.format(meson.source_root(), mapfile[0]),
|
||||
'-Wl,--unresolved-symbols=report-all',
|
||||
],
|
||||
link_depends: mapfile,
|
||||
install: true,
|
||||
install_dir: pam_modules_dir,
|
||||
)
|
||||
Reference in New Issue
Block a user