New: Can't build project statically with external toolchain
https://bugs.busybox.net/show_bug.cgi?id=2881
Summary: Can't build project statically with external toolchain
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: serj.kalichev at gmail.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0
Created attachment 2749
--> https://bugs.busybox.net/attachment.cgi?id=2749
Don't copy shared libraries to the target dir if BR2_PREFER_STATIC_LIB defined
Hello
Buildroot version: 2010.11
I tried to build minimal busybox-only project for using as initramfs. I use external buildroot toolchain. The buildroot copy the .so libraries from external toolchain to the target dir unconditionally. But I build busybox statically and don't need shared libraries (the size of resulted image is too big with unneeded libraries).
The attached patch use BR2_PREFER_STATIC_LIB to find out if the project prefer static linking and if the static linking is preferred don't copy shared libraries to the target dir.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 2881] Can't build project statically with external toolchain
https://bugs.busybox.net/show_bug.cgi?id=2881
Thomas Petazzoni <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED--- Comment #1 from Thomas Petazzoni <[email protected]> 2012-04-29 21:14:07 UTC --- Fixed by
http://git.buildroot.net/buildroot/commit/?id=9e3dac50454f17f8d1890dc7f2c7fcefbd929416
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.