From 56fadb2259e6ac69f6592be544bcc91c1b91c29b Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Fri, 17 Nov 2006 11:51:17 +0000 Subject: - Typo fix: copy headers to the correct location on the target. --- package/gmp/gmp.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'package/gmp/gmp.mk') diff --git a/package/gmp/gmp.mk b/package/gmp/gmp.mk index c74fd6eeb0..2344b8d14c 100644 --- a/package/gmp/gmp.mk +++ b/package/gmp/gmp.mk @@ -76,7 +76,8 @@ $(TARGET_DIR)/lib/libgmp.so.$(GMP_LIBVERSION): $(STAGING_DIR)/lib/$(GMP_BINARY) cp -a $(STAGING_DIR)/lib/libgmp.so* $(STAGING_DIR)/lib/libgmp.a \ $(TARGET_DIR)/lib/ ifeq ($(BR2_PACKAGE_GMP_HEADERS),y) - cp -a $(STAGING_DIR)/include/gmp.h $(TARGET_DIR)/include/ + test -d $(TARGET_DIR)/usr/include || mkdir -p $(TARGET_DIR)/usr/include + cp -a $(STAGING_DIR)/include/gmp.h $(TARGET_DIR)/usr/include/ endif $(STRIP) --strip-unneeded $(TARGET_DIR)/lib/libgmp.so* \ $(TARGET_DIR)/lib/libgmp.a -- cgit v1.2.1