# https://bugs.gentoo.org/791760
# https://github.com/fwupd/fwupd/pull/3921

diff --git a/plugins/synaptics-rmi/meson.build b/plugins/synaptics-rmi/meson.build
index acbb6b92..10ac3047 100644
--- a/plugins/synaptics-rmi/meson.build
+++ b/plugins/synaptics-rmi/meson.build
@@ -38,7 +38,6 @@ shared_module('fu_plugin_synaptics_rmi',
     fwupdplugin,
   ],
 )
-endif
 
 if get_option('tests')
   e = executable(
@@ -67,3 +66,4 @@ if get_option('tests')
   )
   test('synaptics-rmi-self-test', e)
 endif
+endif
