summaryrefslogtreecommitdiff
path: root/package/ntfsprogs/ntfsprogs.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-06-18 11:19:45 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-06-18 11:19:45 +0200
commit4342271319870cecd6d84c9725e1dfaa483cb51d (patch)
tree4e30305d00cdd909728742961f636d46625c3ce9 /package/ntfsprogs/ntfsprogs.mk
parentbde127c3bc2c12a36a3698cce7820859cd8d00a7 (diff)
ntfsprogs: fix fuse dependency
The ntfsprogs configure script would add hardcoded host dirs to the pkg-config search path, confusing configure if libraries were installed on the host and not on the target. At the same time, ensure that fuse is build before ntfsprogs (if enabled), so the fuse support gets built. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/ntfsprogs/ntfsprogs.mk')
-rw-r--r--package/ntfsprogs/ntfsprogs.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/ntfsprogs/ntfsprogs.mk b/package/ntfsprogs/ntfsprogs.mk
index 654d3cbf2..2046d29a8 100644
--- a/package/ntfsprogs/ntfsprogs.mk
+++ b/package/ntfsprogs/ntfsprogs.mk
@@ -12,6 +12,10 @@ NTFSPROGS_INSTALL_STAGING:=yes
NTFSPROGS_BIN:=ntfscat ntfscluster ntfscmp ntfsfix ntfsinfo ntfsls
NTFSPROGS_SBIN:=ntfsclone ntfscp ntfslabel ntfsresize ntfsundelete mkntfs
+ifeq ($(BR2_PACKAGE_LIBFUSE),y)
+NTFSPROGS_DEPENDENCIES += libfuse
+endif
+
$(eval $(call AUTOTARGETS,package,ntfsprogs))
$(NTFSPROGS_TARGET_INSTALL_TARGET): $(NTFSPROGS_TARGET_INSTALL_STAGING)