Browse Source

Merge pull request #8113 from neheb/ava

libavahi-compat-libdnssd: Fix compilation
lilik-openwrt-22.03
Ted Hess 6 years ago
committed by GitHub
parent
commit
03ae87406a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 4 deletions
  1. +6
    -4
      libs/avahi/Makefile

+ 6
- 4
libs/avahi/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=avahi PKG_NAME:=avahi
PKG_VERSION:=0.7 PKG_VERSION:=0.7
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/lathiat/avahi/releases/download/v$(PKG_VERSION) \ PKG_SOURCE_URL:=https://github.com/lathiat/avahi/releases/download/v$(PKG_VERSION) \
@ -273,8 +273,6 @@ CONFIGURE_ARGS+= \
--disable-dbm \ --disable-dbm \
--enable-gdbm \ --enable-gdbm \
--enable-libdaemon \ --enable-libdaemon \
$(and $(CONFIG_PACKAGE_libavahi-compat-libdnssd),ifeq ($(BUILD_VARIANT),dbus),\
--enable-compat-libdns_sd) \
--disable-python \ --disable-python \
--disable-pygtk \ --disable-pygtk \
--disable-python-dbus \ --disable-python-dbus \
@ -303,6 +301,10 @@ CONFIGURE_ARGS+= \
endif endif
ifeq ($(BUILD_VARIANT),dbus) ifeq ($(BUILD_VARIANT),dbus)
ifneq ($(CONFIG_PACKAGE_libavahi-compat-libdnssd),)
CONFIGURE_ARGS += \
--enable-compat-libdns_sd
endif
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-dbus --enable-dbus
else else
@ -348,7 +350,7 @@ endef
define Package/libavahi-compat-libdnssd/install define Package/libavahi-compat-libdnssd/install
$(INSTALL_DIR) $(1)/usr/lib $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libdns_sd.so.* $(1)/usr/lib/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libdns_sd.so* $(1)/usr/lib/
endef endef
define Package/avahi-utils/install define Package/avahi-utils/install


Loading…
Cancel
Save