Hi, I have been trying to statically link madplay but with no success. I set LDFLAGS to --static in the Makefile but when I run the file command, it informs me that there are still shared library dependencies. Can someone advise how to modify the Makefile so madplay would be a monolithic, statically linked app? I have run out of ideas. Thanks.
UQ
Use ldd (command) on the madplay executable. It will list all the shared libs..
On Mon, 11 Nov 2002 14:02:59 -0800 umar@audioramp.com (umar@audioramp.com) wrote:
Hi, I have been trying to statically link madplay but with no success. I set LDFLAGS to --static in the Makefile but when I run the file command, it informs me that there are still shared library dependencies. Can someone advise how to modify the Makefile so madplay would be a monolithic, statically linked app? I have run out of ideas. Thanks.
UQ
On Monday, November 11, 2002, at 02:02 PM, umar@audioramp.com wrote:
I have been trying to statically link madplay but with no success. I set LDFLAGS to --static in the Makefile but when I run the file command, it informs me that there are still shared library dependencies. Can someone advise how to modify the Makefile so madplay would be a monolithic, statically linked app? I have run out of ideas. Thanks.
Try this:
make LDFLAGS=-all-static