Signed-off-by: Pavel Hrdina <phrdina(a)redhat.com>
---
src/Makefile.am | 2 --
src/meson.build | 7 +++++++
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index 555c677c615..b948ac47a6d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -103,8 +103,6 @@ augeasdir = $(datadir)/augeas/lenses
augeastestdir = $(datadir)/augeas/lenses/tests
-# Internal generic driver infrastructure
-DATATYPES_SOURCES = datatypes.h datatypes.c
DRIVER_SOURCES += \
driver.c driver.h \
driver-hypervisor.h \
diff --git a/src/meson.build b/src/meson.build
index d416531c12b..2c56caf5442 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -30,6 +30,13 @@ if conf.has('WITH_SECDRIVER_APPARMOR')
endif
+# Internal generic driver infrastructure
+
+datatypes_sources = [
+ 'datatypes.c',
+]
+
+
# generate systemtap files
systemtap_dir = datadir / 'systemtap' / 'tapset'
--
2.26.2