summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-01-16 00:11:38 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-01-16 00:11:38 +0000
commitf7c4735a19cd848d9e5e51da8f68443fdf113b34 (patch)
treed16fb021c5898956903992112d0583c9b87d03ae
parent383cadf5d74d0da01023a5904cabcc10fd81be7d (diff)
downloadmtk-20170518-f7c4735a19cd848d9e5e51da8f68443fdf113b34.zip
mtk-20170518-f7c4735a19cd848d9e5e51da8f68443fdf113b34.tar.gz
mtk-20170518-f7c4735a19cd848d9e5e51da8f68443fdf113b34.tar.bz2
libuuid: only build the static variant - fixes compile on mac os x
SVN-Revision: 19157
-rw-r--r--tools/libuuid/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/libuuid/Makefile b/tools/libuuid/Makefile
index 4e6602e..f15a87a 100644
--- a/tools/libuuid/Makefile
+++ b/tools/libuuid/Makefile
@@ -32,18 +32,18 @@ define Host/Configure
endef
define Host/Compile
- $(MAKE) -C $(HOST_BUILD_DIR)/lib/uuid
+ $(MAKE) -C $(HOST_BUILD_DIR)/lib/uuid libuuid.a
endef
define Host/Install
$(INSTALL_DIR) $(STAGING_DIR_HOST)/{lib,include/uuid}
$(CP) $(HOST_BUILD_DIR)/lib/uuid/uuid.h $(STAGING_DIR_HOST)/include/uuid/
- $(CP) $(HOST_BUILD_DIR)/lib/uuid/libuuid.{so*,a} $(STAGING_DIR_HOST)/lib/
+ $(CP) $(HOST_BUILD_DIR)/lib/uuid/libuuid.a $(STAGING_DIR_HOST)/lib/
endef
define Host/Clean
rm -f $(STAGING_DIR_HOST)/include/uuid/uuid.h
- rm -f $(STAGING_DIR_HOST)/lib/uuid/libuuid.{so*,a}
+ rm -f $(STAGING_DIR_HOST)/lib/uuid/libuuid.*
$(call Host/Clean/Default)
endef