Dmitry V. Levin
ldv at altlinux.org
Tue Dec 11 06:23:57 UTC 2018
On Tue, Dec 11, 2018 at 06:11:00AM +0000, Ronneil Camara wrote:
> I'd like to compile strace statically link. The target server doesn't have all the libraries and make. How do I compile so I can make a binary that I can just copy to the target server?
Try to build with LDFLAGS='-static -pthread'.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 801 bytes
Desc: not available
More information about the Strace-devel