summaryrefslogtreecommitdiffstats
path: root/package/dm
diff options
context:
space:
mode:
Diffstat (limited to 'package/dm')
-rw-r--r--package/dm/dm.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/dm/dm.mk b/package/dm/dm.mk
index c85a28202..d1862a556 100644
--- a/package/dm/dm.mk
+++ b/package/dm/dm.mk
@@ -35,7 +35,7 @@ DM_STAGING_BINARY:=$(STAGING_DIR)/usr/sbin/dmsetup
DM_TARGET_BINARY:=$(TARGET_DIR)/usr/sbin/dmsetup
DM_STAGING_LIBRARY:=$(STAGING_DIR)/lib/libdevmapper.so
DM_TARGET_LIBRARY:=$(TARGET_DIR)/usr/lib/libdevmapper.so
-DM_TARGET_HEADER:=$(TARGET_DIR)/include/libdevmapper.h
+DM_TARGET_HEADER:=$(TARGET_DIR)/usr/include/libdevmapper.h
$(DL_DIR)/$(DM_SOURCE):
$(WGET) -P $(DL_DIR) $(DM_SITE)/$(DM_SOURCE) || \
@@ -108,8 +108,8 @@ $(DM_TARGET_LIBRARY): $(DM_TARGET_LIBRARY).$(DM_BASEVER)
# Install header file
$(DM_TARGET_HEADER): $(DM_TARGET_LIBRARY)
rm -f $@
- mkdir -p $(STAGING_DIR)/include
- $(INSTALL) -m 0644 $(STAGING_DIR)/include/libdevmapper.h $@
+ mkdir -p $(STAGING_DIR)/usr/include
+ $(INSTALL) -m 0644 $(STAGING_DIR)/usr/include/libdevmapper.h $@
dm: uclibc $(DM_TARGET_BINARY) $(DM_TARGET_LIBRARY) #$(DM_TARGET_HEADER)