mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 19:14:30 +04:00
gcc: Ship all *nonshared*.a static libs.
Particularly, this fixes linking with pthreads. Signed-off-by: Christian Beier <dontmind@freeshell.org>
This commit is contained in:
@@ -106,7 +106,7 @@ define Package/gcc/install
|
||||
$(RM) $(1)/usr/lib/$(PKG_NAME)/$(REAL_GNU_TARGET_NAME)/$(PKG_VERSION)/*.a
|
||||
cp -ar $(TOOLCHAIN_DIR)/include $(1)/usr/lib/$(PKG_NAME)/$(REAL_GNU_TARGET_NAME)/$(PKG_VERSION)
|
||||
cp -a $(TOOLCHAIN_DIR)/lib/*.{o,so*} $(1)/usr/lib/$(PKG_NAME)/$(REAL_GNU_TARGET_NAME)/$(PKG_VERSION)
|
||||
cp -a $(TOOLCHAIN_DIR)/lib/uclibc_nonshared.a $(1)/usr/lib/$(PKG_NAME)/$(REAL_GNU_TARGET_NAME)/$(PKG_VERSION)
|
||||
cp -a $(TOOLCHAIN_DIR)/lib/*nonshared*.a $(1)/usr/lib/$(PKG_NAME)/$(REAL_GNU_TARGET_NAME)/$(PKG_VERSION)
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,gcc))
|
||||
|
||||
Reference in New Issue
Block a user