Re: Building static Python binary

2009-10-26 Thread mk
P.S. If I add -static to LDFLAGS in Makefile, I get this: gcc -pthread -static -Xlinker -export-dynamic -o python \ Modules/python.o \ libpython2.6.a -lpthread -ldl -lutil -L/usr/local/ssl/lib -lssl -lcrypto -lm libpython2.6.a(dynload_shlib.o

Building static Python binary

2009-10-26 Thread mk
Hello, I have trouble building Python static binary (for use with 'freeze.py', as frozen Python programs do not include dynamically linked libs). Anybody? ./configure --disable-shared --with-ldflags=-ldl And yet after compiling the resulting binary is linked with following dynamic libraries: