Static freeze

G

Grzegorz Dostatni

Cheers.

I am trying to create a single executable that contains my program. Due to
legal issues I was unable to use a dynamically linked python executable.

Over the last couple of weeks I managed to create a statically linked
python executable that contains everything we need (Qt, ssl, bz2, etc). My
final step should be to use that executable and freeze all the python code
inside it. Problem is, when I try that - it tries to create a dynamically
linked executable.

Is there a way to tell freeze to create a statically linked executable?
Freeze commandline does not appear to have that option. I'm sure that in a
day or two I can figure out the Makefile it generates and perhaps
substitute the object files to create what I need, but I'm hoping there is
someone out there who can help me (or at least save me a lot of time).

Thanks a lot,

Grzegorz
 
?

=?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=

Grzegorz said:
Is there a way to tell freeze to create a statically linked executable?
Freeze commandline does not appear to have that option. I'm sure that in a
day or two I can figure out the Makefile it generates and perhaps
substitute the object files to create what I need, but I'm hoping there is
someone out there who can help me (or at least save me a lot of time).

You need two days to figure out the Makefile? Just changing
LDFLAGS/LINKFORSHARED should do the trick.

Regards,
Martin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,608
Members
45,252
Latest member
MeredithPl

Latest Threads

Top