yapsnmp: fix annoying warning message
authorOliver Ertl <oliver@ertl-net.net>
Sun, 29 Jul 2007 17:46:43 +0000 (17:46 +0000)
committerOliver Ertl <oliver@ertl-net.net>
Sun, 29 Jul 2007 17:46:43 +0000 (17:46 +0000)
SVN-Revision: 8219

libs/yapsnmp/Makefile

index 53d4a44..32d21aa 100644 (file)
@@ -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)