aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libuuid
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
commitdf366bdeb25c44a0425c01180ce5fae9a38022c9 (patch)
tree2df4ed4d75dc514bb4332550d1e6e744efd3b310 /tools/libuuid
parentf75406de56a830aa4cf26514532e272bdea498d0 (diff)
downloadupstream-df366bdeb25c44a0425c01180ce5fae9a38022c9.tar.gz
upstream-df366bdeb25c44a0425c01180ce5fae9a38022c9.tar.bz2
upstream-df366bdeb25c44a0425c01180ce5fae9a38022c9.zip
libuuid: only build the static variant - fixes compile on mac os x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19157 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/libuuid')
-rw-r--r--tools/libuuid/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/libuuid/Makefile b/tools/libuuid/Makefile
index 4e6602e488..f15a87a935 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