From 3b757ee738d4d078ef4ae45be1442e39e0585198 Mon Sep 17 00:00:00 2001 From: Benjamin Berg Date: Wed, 12 Jun 2019 11:58:58 +0200 Subject: [PATCH] build: Fix source files of upekts and upketc drivers The upekts driver needs upek_proto.c while the upektc driver does not. Move the corresponding source file entries so that both drivers compile standalone. --- libfprint/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libfprint/meson.build b/libfprint/meson.build index abd00054..2b452da4 100644 --- a/libfprint/meson.build +++ b/libfprint/meson.build @@ -76,10 +76,10 @@ drivers_sources = [] drivers_cflags = [] foreach driver: drivers if driver == 'upekts' - drivers_sources += [ 'drivers/upekts.c' ] + drivers_sources += [ 'drivers/upekts.c', 'drivers/upek_proto.c', 'drivers/upek_proto.h' ] endif if driver == 'upektc' - drivers_sources += [ 'drivers/upektc.c', 'drivers/upektc.h', 'drivers/upek_proto.c', 'drivers/upek_proto.h' ] + drivers_sources += [ 'drivers/upektc.c', 'drivers/upektc.h' ] endif if driver == 'upeksonly' drivers_sources += [ 'drivers/upeksonly.c', 'drivers/upeksonly.h' ]