zlib: fix headers installation in target directory

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Lionel Landwerlin
2010-01-27 02:08:49 +01:00
committed by Peter Korsgaard
parent 5082e476d1
commit 5ad8ad0c37
2 changed files with 4 additions and 4 deletions

View File

@@ -43,8 +43,8 @@ endef
ifeq ($(BR2_HAVE_DEVFILES),y)
define ZLIB_INSTALL_TARGET_HEADERS
$(INSTALL) -D $(@D)/zlib.h $(STAGING_DIR)/usr/include/zlib.h
$(INSTALL) $(@D)/zconf.h $(STAGING_DIR)/usr/include/
$(INSTALL) -D $(@D)/zlib.h $(TARGET_DIR)/usr/include/zlib.h
$(INSTALL) $(@D)/zconf.h $(TARGET_DIR)/usr/include/
endef
endif