avahi: Changed the condition of InstallDev
authorHirokazu MORIKAWA <redacted>
Fri, 17 Nov 2017 07:02:33 +0000 (16:02 +0900)
committerHirokazu MORIKAWA <redacted>
Fri, 17 Nov 2017 07:02:33 +0000 (16:02 +0900)
Signed-off-by: Hirokazu MORIKAWA <redacted>
libs/avahi/Makefile

index c42440d25fe468fc693ef7307169736d00c13c31..d5c9facb8ed069c2bdf4a3f9942a74941f03a86b 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=avahi
 PKG_VERSION:=0.6.32
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://github.com/lathiat/avahi/releases/download/v$(PKG_VERSION)
@@ -317,8 +317,10 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libavahi-* $(1)/usr/lib/
-ifeq ($(CONFIG_PACKAGE_libavahi-compat-libdnssd)-$(BUILD_VARIANT),y-dbus)
+ifneq ($(CONFIG_PACKAGE_libavahi-compat-libdnssd),)
+ifeq ($(BUILD_VARIANT),dbus)
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdns_sd* $(1)/usr/lib/
+endif
 endif
        $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* $(1)/usr/lib/pkgconfig/
git clone https://git.99rst.org/PROJECT