diff options
author | Ted Hess <thess@kitschensync.net> | 2014-11-01 18:49:32 -0400 |
---|---|---|
committer | Ted Hess <thess@kitschensync.net> | 2014-11-01 18:49:38 -0400 |
commit | 719da24cd99167b033b5d0f95a54890352c4dba2 (patch) | |
tree | 9ce288917e07fecce575fe710e3c3a892e64fbe0 /libs/avahi/Makefile | |
parent | 8d2579392fcbcba87a8a14d3a0cb8a238a111bd4 (diff) |
libavahi: Don't build libdns_sd if not selected
Signed-off-by: Ted Hess <thess@kitschensync.net>
Diffstat (limited to 'libs/avahi/Makefile')
-rw-r--r-- | libs/avahi/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libs/avahi/Makefile b/libs/avahi/Makefile index 3dd174c20..ea4353be8 100644 --- a/libs/avahi/Makefile +++ b/libs/avahi/Makefile @@ -217,9 +217,9 @@ CONFIGURE_ARGS+= \ --disable-gtk3 \ --with-xml=expat \ --disable-dbm \ - --enable-compat-libdns_sd \ --enable-gdbm \ --enable-libdaemon \ + $(if $(CONFIG_PACKAGE_libavahi-compat-libdnssd),--enable-compat-libdns_sd) \ --disable-python \ --disable-pygtk \ --disable-python-dbus \ @@ -263,7 +263,10 @@ define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/ $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/{libavahi-*,libdns_sd*} $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libavahi-* $(1)/usr/lib/ +ifneq ($(CONFIG_PACKAGE_libavahi-compat-libdnssd),) + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdns_sd* $(1)/usr/lib/ +endif $(INSTALL_DIR) $(1)/usr/lib/pkgconfig $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* $(1)/usr/lib/pkgconfig/ endef |