Hallo,
weiß jemand ob und wie ich Python 2.4.1 statisch kompilieren kann? Ein
./configure --with-ldflags=-static
hat nicht funktioniert...
Besten Dank und Gruß
Matthias
Python statisch kompilieren (Linux)
Die Libraries, die du statisch linken willst, musst du vorher auch als statisch compilieren...
Wenn das Configure-Script nicht --with-ldflags hat, was ich annehme, passiert auch nichts. Du kannst es mal mithiasl hat geschrieben:./configure --with-ldflags=-static
Code: Alles auswählen
rm programmdatei
make LDFLAGS=-static