pciutils may depend on zlib. Based on Bernhard's git repository.
authorThiago A. Corrêa <thiago.correa@gmail.com>
Fri, 31 Oct 2008 12:41:02 +0000 (12:41 -0000)
committerThiago A. Corrêa <thiago.correa@gmail.com>
Fri, 31 Oct 2008 12:41:02 +0000 (12:41 -0000)
package/pciutils/pciutils.mk

index 854c955b78e5a23c5c543549f35a7a625c8fd304..18b5e559f62a3baa31c29af75a91458a0e4eb042 100644 (file)
@@ -57,7 +57,7 @@ $(TARGET_DIR)/sbin/setpci: $(PCIUTILS_DIR)/.compiled
 $(TARGET_DIR)/usr/share/misc/$(PCIIDS_FILE): $(PCIUTILS_DIR)/.unpacked
        $(INSTALL) -D $(PCIUTILS_DIR)/$(PCIIDS_FILE) $(@D)
 
-pciutils: uclibc $(TARGET_DIR)/sbin/setpci $(TARGET_DIR)/sbin/lspci $(TARGET_DIR)/usr/share/misc/$(PCIIDS_FILE)
+pciutils: uclibc $(if $(BR2_PACKAGE_ZLIB),zlib) $(TARGET_DIR)/sbin/setpci $(TARGET_DIR)/sbin/lspci $(TARGET_DIR)/usr/share/misc/$(PCIIDS_FILE)
 
 pciutils-source: $(DL_DIR)/$(PCIUTILS_SOURCE) $(DL_DIR)/$(PCIIDS_SOURCE)