From 4fa7250c0736bb48a1cab5c634a40b351cefdbde Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 5 Dec 2007 18:45:35 +0000 Subject: Removed redundant '-r' flags for cp. Fixes compilation on BSD/Darwin. $(CP) is defined as CP:="cp -fpR" Signed-off-by: Andy Boyett SVN-Revision: 9661 --- package/libjson-c/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'package/libjson-c/Makefile') diff --git a/package/libjson-c/Makefile b/package/libjson-c/Makefile index 01116aaf63..bcb298418d 100644 --- a/package/libjson-c/Makefile +++ b/package/libjson-c/Makefile @@ -37,11 +37,11 @@ endef define Build/InstallDev mkdir -p $(1)/usr/include - $(CP) -r $(PKG_INSTALL_DIR)/usr/include/json $(1)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/usr/include/json $(1)/usr/include/ mkdir -p $(1)/usr/lib - $(CP) -r $(PKG_INSTALL_DIR)/usr/lib/libjson.{a,so*} $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libjson.{a,so*} $(1)/usr/lib/ mkdir -p $(1)/usr/lib/pkgconfig - $(CP) -r $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/json.pc $(1)/usr/lib/pkgconfig/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/json.pc $(1)/usr/lib/pkgconfig/ endef define Build/UninstallDev -- cgit v1.2.3