mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
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.
This commit is contained in:
@@ -76,10 +76,10 @@ drivers_sources = []
|
|||||||
drivers_cflags = []
|
drivers_cflags = []
|
||||||
foreach driver: drivers
|
foreach driver: drivers
|
||||||
if driver == 'upekts'
|
if driver == 'upekts'
|
||||||
drivers_sources += [ 'drivers/upekts.c' ]
|
drivers_sources += [ 'drivers/upekts.c', 'drivers/upek_proto.c', 'drivers/upek_proto.h' ]
|
||||||
endif
|
endif
|
||||||
if driver == 'upektc'
|
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
|
endif
|
||||||
if driver == 'upeksonly'
|
if driver == 'upeksonly'
|
||||||
drivers_sources += [ 'drivers/upeksonly.c', 'drivers/upeksonly.h' ]
|
drivers_sources += [ 'drivers/upeksonly.c', 'drivers/upeksonly.h' ]
|
||||||
|
|||||||
Reference in New Issue
Block a user