summaryrefslogtreecommitdiff
path: root/package/libjson-c
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-12-05 18:45:35 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-12-05 18:45:35 +0000
commit5c162aac1c9723ec68209aeac008e344ac38e6e3 (patch)
tree115070344bfcd6db2c8412cd58ac20c430e3c2ab /package/libjson-c
parent030c5d8f7ec690c8119cc3d28f910cf1a0278d53 (diff)
Removed redundant '-r' flags for cp. Fixes compilation on BSD/Darwin.
$(CP) is defined as CP:="cp -fpR" Signed-off-by: Andy Boyett <agb-openwrt@padded-cell.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9661 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/libjson-c')
-rw-r--r--package/libjson-c/Makefile6
1 files changed, 3 insertions, 3 deletions
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