diff --git a/src/modules/connman/Makefile.am b/src/modules/connman/Makefile.am index be48417b8..4714c712b 100644 --- a/src/modules/connman/Makefile.am +++ b/src/modules/connman/Makefile.am @@ -18,6 +18,8 @@ INCLUDES = -I. \ @e_cflags@ pkgdir = $(libdir)/enlightenment/modules/$(MODULE)/$(MODULE_ARCH) + +if HAVE_EDBUS pkg_LTLIBRARIES = module.la module_la_SOURCES = e_mod_main.h \ @@ -28,6 +30,7 @@ module_la_SOURCES = e_mod_main.h \ module_la_LIBADD = @e_libs@ @dlopen_libs@ @E_DBUS_LIBS@ module_la_LDFLAGS = -module -avoid-version module_la_DEPENDENCIES = $(top_builddir)/config.h +endif uninstall: rm -rf $(DESTDIR)$(libdir)/enlightenment/modules/$(MODULE)