1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-18 14:47:46 +01:00

libuuid: only build the static variant - fixes compile on mac os x

SVN-Revision: 19157
This commit is contained in:
Felix Fietkau 2010-01-16 00:11:38 +00:00
parent 383cadf5d7
commit f7c4735a19

@ -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