summaryrefslogtreecommitdiff
path: root/package/libusb
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-06-13 08:45:35 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-06-13 08:45:35 +0000
commitf8ba68f28bd10ae9f992fcd228bd7649a7a84efb (patch)
tree52ea88f4a747b6002d01ceafdbe3e9a03c415632 /package/libusb
parent87d71cf83fb912ef3fea713967b0ed56aa195e07 (diff)
libusb: depend on actual host-libtool binary
We need to depend on the actual host-libtool binary instead of the phony host-libtool as libusb otherwise will get recompiled every time.
Diffstat (limited to 'package/libusb')
-rw-r--r--package/libusb/libusb.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/libusb/libusb.mk b/package/libusb/libusb.mk
index 0a3d951ad..459b42c51 100644
--- a/package/libusb/libusb.mk
+++ b/package/libusb/libusb.mk
@@ -24,7 +24,7 @@ $(DL_DIR)/$(LIBUSB_SOURCE): $(LIBUSB_PATCH)
libusb-source: $(DL_DIR)/$(LIBUSB_SOURCE) $(LIBUSB_PATCH)
libusb-unpacked: $(LIBUSB_DIR)/.unpacked
-$(LIBUSB_DIR)/.unpacked: $(AUTOCONF) $(AUTOMAKE) host-libtool $(DL_DIR)/$(LIBUSB_SOURCE)
+$(LIBUSB_DIR)/.unpacked: $(AUTOCONF) $(AUTOMAKE) $(STAGING_DIR)/$(LIBTOOL_TARGET_BINARY) $(DL_DIR)/$(LIBUSB_SOURCE)
$(LIBUSB_CAT) $(DL_DIR)/$(LIBUSB_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
ifneq ($(LIBUSB_PATCH_FILE),)
(cd $(LIBUSB_DIR) && $(LIBUSB_CAT) $(LIBUSB_PATCH) | patch -p1)