From: olli Date: Sun, 29 Jul 2007 17:46:43 +0000 (+0000) Subject: yapsnmp: fix annoying warning message X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=767a3e4ebc480a3d375446216a9015cd3f07b5e3;p=packages.git yapsnmp: fix annoying warning message git-svn-id: svn://svn.openwrt.org/openwrt/packages@8219 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/libs/yapsnmp/Makefile b/libs/yapsnmp/Makefile index 53d4a4426..32d21aabc 100644 --- a/libs/yapsnmp/Makefile +++ b/libs/yapsnmp/Makefile @@ -51,7 +51,9 @@ define Build/Compile all install endef -pylibdir:=$(shell $(STAGING_DIR)/usr/bin/hostpython $(SCRIPT_DIR)/pylibdir.py) +ifeq ($(DUMP),) + pylibdir:=$(shell $(STAGING_DIR)/usr/bin/hostpython $(SCRIPT_DIR)/pylibdir.py) +endif define Package/yapsnmp/install $(INSTALL_DIR) $(1)$(pylibdir) $(CP) -a $(PKG_INSTALL_DIR)/* $(1)$(pylibdir)