mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-17 14:34:42 +02:00
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
This commit is contained in:
parent
f0e79d4172
commit
efe8a21694
@ -32,18 +32,18 @@ define Host/Configure
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Host/Compile
|
define Host/Compile
|
||||||
$(MAKE) -C $(HOST_BUILD_DIR)/lib/uuid
|
$(MAKE) -C $(HOST_BUILD_DIR)/lib/uuid libuuid.a
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Host/Install
|
define Host/Install
|
||||||
$(INSTALL_DIR) $(STAGING_DIR_HOST)/{lib,include/uuid}
|
$(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/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
|
endef
|
||||||
|
|
||||||
define Host/Clean
|
define Host/Clean
|
||||||
rm -f $(STAGING_DIR_HOST)/include/uuid/uuid.h
|
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)
|
$(call Host/Clean/Default)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user